Hi Jason,
I've been using:
UInt32 requiredDepth = 8;
Err err = WinScreenMode(winScreenModeSet, NULL, NULL, &requiredDepth, NULL);
...which has worked fine for me. I get the feeling that I might be cheating
by leaving the enable-colour flag as null, though...
Kind regards,
David
---
David Oakley - [EMAIL PROTECTED] - ICQ 9610512
partner, Astraware - http://www.astraware.com/
New: Zap!2000 for Palm: http://www.astraware.com/palm/zap2000/?dsig
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
> Simpkins
> Sent: 25 February 2000 17:57
> To: Palm Developer Forum
> Subject: ScrDisplayMode??
>
>
> Howdy,
>
> I'm trying to put the screen driver into "color" (gray scrale) mode using
> the ScrDisplayMode function
> and just can't get it to work. The DOC's say to set the width, heigth,
> depth and color enable to TRUE. Well the last varible seems to
> be defined
> as a unsigned *char Ptr, so my question is how do you set this varible to
> TRUE, "TRUE" is not defined as anything according to codewarrior. Could
> somebody please give me and example of this function call.
>
> Thanks,
> Jason
>
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html