No win mouse+maximize win at creation time - how to?

Started by
11 comments, last by emileej 22 years, 7 months ago
>>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
Emil Johansen- SMMOG AI designerhttp://smmog.com
Advertisement
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
Emil Johansen- SMMOG AI designerhttp://smmog.com
wincl.hbrBackground = (HBRUSH) GetStockObject(BLACK_BRUSH);

If you want non-standard colors you must create your own brush.

This topic is closed to new replies.

Advertisement