> Is there any way to set a custom color palette into the window and still 
> get "standard" system colors for menus and dialog boxes?

  yes! :P look at the Burning source code:

    http://www.hig.se/~ardiri/development/palmIII/index.html

  this does exactly this, and i wrote this program EXACTLY for this
  question :)

> I put a custom color palette into the window and draw a 160x160 bitmap.
> If that palette represents grayscale, the menus and dialog boxes don't
> have the standard system colors.  But if I correct that problem by
>  hanging back to the standard system colors, I then get a "groovy"
> non-grayscale bitmap behind the now-standard colored menu or dialog box.
>
> Is there any way around this problem?

  of course, ensure your palette matches the system palette :P 

  the latest version of pilrc, has rgb->index mapping values for color
  bitmaps so it will match the closest system color index for your
  (r,g,b) values

  this can also be found here:

    http://www.hig.se/~ardiri/development/palmIII/index.html

  cheers.

az. 
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to