Carsten Sørensen wrote: > I've come across another problem - I use the COLOR_BTNFACE (from > winuser.h) constant, but it does not work on my device (HP Jornada > 720, H/PC 2000), it simply works as a transparent colour. > > Since I'd already been probing the CMDBAR_* constants I got busy and > I've tried the COLOR_BTNFACE constant with different offsets, and the > magic number seems to be 0x40000000 - if I add that, the system colour > constants start working. Are these defines are > correct, do they work on any other devices? They don't work for me as > they are. Maybe it's an H/PC 2000 thing, I haven't got any other > devices to play with. >
You mean you add it to all the colors? They are sequencial, so I guess that's what you mean. > I can put together a sample that demonstrates the problem if nobody > else has tried these constants until now. > Would be nice. I can test it on Mobile 2003. I've never used these APIs before, so I wonder if there is a way to query the color from somewhere, and see if they always come with that offset. BTW, nice work. Cheers, Pedro Alves ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel