> You could start the color suport in your startup code. There's some examples 
> in the archives of this list (one very good from Aaron Ardiri, a simple loop 
> that sets the maximum color support, if I'm not wrong). 

you mean this?

      UInt32 depthsToTry[] = { 16, 8, 4, 2, 1 };
      UInt32 *depthPtr = &depthsToTry[0];

      while (WinScreenMode(winScreenModeSet,NULL,NULL,depthPtr,NULL)) 
        depthPtr++;

could also do better as

  UInt32 depth = 16;

  while (WinScreenMode(winScreenModeSet, NULL, NULL, &depth, NULL)
    depth >>= 1;

*g* many ways to skin a cat

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/


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

Reply via email to