I want to place a bitmap on a button. All I can find on the internet is to use BS_BITMAP as button style and then SendMessage() with BM_SETIMAGE. My problem: these 2 defines are not defined in my winuser.h.
The target runs Windows CE version 6.00, in my stdafx.h it says "#define WINVER _WIN32_WCE" (which is 0x600). But winuser.h doesn't even contain any BS_BITMAP or BS_SETIMAGE define.
So i tried to paint the bitmap on the button at "case WM_PAINT" with BitBlt() (without knowing if I can still press the button if the bitmap is placed above it), but the bitmap is hidden behind the button. So the appearance doesn't change at all and I still see the grey standard button.
Is there any other possibility to place a bitmap or icon on a button than using those missing defines? Or even better, do you know why those defines are missing or how I get them?
Adding those defines by hand to my code didn't help at all of course.