Jump to content
  • Advertisement


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


Simple MFC Question

This topic is 5563 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 would like to show my Main Frame window maximized as default, so I overrided ActivateFrame and CFrmWindow::ActivateFrame(SW_MAXIMIZE) instead. This works fine, but I would like it to keep my splitter bars in place the way they were. I handled the splitter bar positions in the OnSize(...) function, but SW_MAXIMIZE doesnt seem to call this method. Which message do I need to handle in order to keep my splitter bars in place?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!