• Advertisement
Sign in to follow this  

Maximize window by code

This topic is 4828 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

Hi, I am looking for a way to maximize a window by code. It needs to do the same thing as the maximize button at the top right corner. Thanks for your help.

Share this post


Link to post
Share on other sites
Advertisement
ShowWindow() with the SW_MAXIMIZE flag should work.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement