Advertisement

Maximized windows

Started by December 23, 2001 12:51 PM
3 comments, last by Anonymous Programmer 22 years, 11 months ago
Hi, I''m trying to create a window the is initially maximized with: WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_MAXIMIZE but that''s not working. Can somebody please help me?
Anonymous Programmer
*bump*
Advertisement
Hi!

I''m not sure but I think WS_MAXIMIZE is to add a maximize option to the window title bar. I''m sure that this line will do, after you create the window:

ShowWindow(hWnd, SW_SHOWMAXIMIZED);

Let me know if it helped


SKeTch
SKeTch
Thanks, it works perfectly!
Hey, I have another question: How do you hide a menu in a child window?

This topic is closed to new replies.

Advertisement