>>infinitycool
Never mind - i have just tested it, at it works perfect =)
Thanks all who posted here and helped me
-------------
E-)mil
http://eej.dk
- Just another crazy dane
No win mouse+maximize win at creation time - how to?
I have partly used the default code from devC++ to create a window, so therefore i am not that familiar with all the typenames - this code sets the backgrount color of my window to gray - how do i change it to black?
wincl.hbrBackground = (HBRUSH) GetStockObject(LTGRAY_BRUSH);
-------------
E-)mil
http://eej.dk
- Just another crazy dane
wincl.hbrBackground = (HBRUSH) GetStockObject(LTGRAY_BRUSH);
-------------
E-)mil
http://eej.dk
- Just another crazy dane
wincl.hbrBackground = (HBRUSH) GetStockObject(BLACK_BRUSH);
If you want non-standard colors you must create your own brush.
If you want non-standard colors you must create your own brush.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement