> > > and i used :
> > > ScrDisplayMode (scrDisplayModeSet, 0, 0, 0x8B, 0);
> >
> > You need to set only ONE bit.  0x8b is probably returning an error you
> > are ignoring.  Try just 0x08 (this requests 4bpp, not 8,4,2,and 1 at
> > the same time).

  um.. take a look at the API specs.. the *fourth* parameter must
  be a "pointer" to a UInt32 - being a depth.

  i posted an example of this earlier..

---
UInt32 depth = 4;

WinDisplayMode(winDisplayModeSet, NULL, NULL, &depth, NULL);
---

  if you use an earlier SDK, substitute Win* with Scr* and win* with
  scr*.. the 3.5 SDK (from memory) just changed the name of this call.

  cheers

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to