• Advertisement


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

Simple MFC Question

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