dwStyle=WS_CHILD | WS_VISIBLE | SS_LEFT;
CreateWindowEx(0,__TEXT("STATIC"),L"Application Manager",dwStyle
,100,100,150,30,hDlg,(HMENU)ID_STATIC1,hInstance,NULL) ;
I also load the bitmap. So, the text is displayed on the bitmap, but the
text background is white. I find out that Windows CE does not support
SS_WHITEFRAME as one of the static control style.
I read that I should use WM_CREATE message to solve the problem.
Please if you have idea or experience, how to display the text on the
bitmap, replay to my message.
Thanks in advance
Nena
If so, the easiest way to display text on the bitmap transparently is to
skip statics and draw text using GDI functions after you draw the bitmap.
Use SetBkMode(hdc, TRANSPARENT) to make the text transparent and then use
one of text functions (ExtTextOut, DrawText etc.).
--
Sincerely,
Alexander
mailto:al...@rsdn.ru
http://www.RSDN.ru - Russian Software Developer Network
"Nevenka Kozomora" <n...@cisunix.unh.edu> wrote in message
news:uwLZ3Ed3...@TK2MSFTNGP10.phx.gbl...