Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

phil05

Win32 API: How do I max a window while loading?

This topic is 5178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want the window to max to full screen while loading. Is there a command for it, and where do I put it?

Share this post


Link to post
Share on other sites
Advertisement
If I understand what you''re asking, then use WS_MAXIMIZE when doing the CreateWindow() or CreateWindowEx() function.

Share this post


Link to post
Share on other sites
You can also use ShowWindow with SW_MAXIMIZE. But if you want it maximized from the very beginning doing it at CreateWindow time like SiCrane mentions is better.

Share this post


Link to post
Share on other sites
This seems kinda odd.. the max works, but the 'X' on the top-right corner is cut off by half. I try to adjust the screen but it's still cut in half no matter what I do. Any idea? Seems like it's just my computer, but I'm wondering if anyone has the same issue.

EDIT: I have to click the max button in order for the X to be seen fully. Shouldn't it automatically do this when i call WS_MAXIMIZE?

How it looks like after executing...
http://phil.webula.net/window.JPG

[edited by - philvaira on May 17, 2004 7:08:03 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!