why don't you set depth to 16 when you set it?

Luc Le Blanc wrote:
> I (Luc Le Blanc) wrote earlier:
> 
>> I checked and stepped through my code. Upon stating my app,
>> and only once, I call
> 
>> UInt32              width = 160, height = 160, depth = 8;
>> Boolean             color = true;
> 
>> gError = WinScreenMode( winScreenModeSet, &width, &height, &depth,
>> &color );
> 
>> and the returned value is 0.
> 
> I also added a
> 
> gError = WinScreenMode( winScreenModeGet, &width, &height, &depth, &color );
> 
> in my form event handler in the frmOpenEvent case just to be sure, and the 
> depth is still 8 (and color is true). What can go wrong???
> 
> 
> Luc Le Blanc
> 
> 
> Luc Le Blanc
> 

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to