I am developing in Windows CE using Visual C++ with an HP Jornada as the target
platform. The Jornada has a 16 bit color depth display. When using dialogs
the button faces are the same color as the background colors. I can sucesfully
change the background colors of dialogs using:

void SetDialogBkColor(COLORERREF clrctbk, COLORREF ctlctrlText);

However, the function:

bool WINAPI SetSysColors(int cElements, CONST int *lpaElements, CONST
COLORREF *lpaRgbValues);

does not work.

I use COLOR_BTNFACE in the lpaElements argument.

Has anybody encountered a similar problem?

Thank you for any assistance rendered.



Has anyone out there had similar problems?