🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Maximized windows

Started by
3 comments, last by Anonymous Programmer 22 years, 6 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
Advertisement
*bump*
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