SebastianStricker
Programmer
Hi guys,
I want to create a CStatic in a dialog form. This CStatic should only display a given COLORREF in a small rectangle.
I tried to create it with SS_SIMPLE and retrieved the CDC* of the CStatic with GetDC() but I'm not able to draw on this DC (I don't see anything).
Can anyone help me? How can I set the color of the CStatic?
Thanks, Sebastian.
I want to create a CStatic in a dialog form. This CStatic should only display a given COLORREF in a small rectangle.
I tried to create it with SS_SIMPLE and retrieved the CDC* of the CStatic with GetDC() but I'm not able to draw on this DC (I don't see anything).
Can anyone help me? How can I set the color of the CStatic?
Thanks, Sebastian.