Jump to content
  • Advertisement


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


Changing my window style

This topic is 5309 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''m creating a SDI application with the view derived from CFormview, and I want to change the window style so that it''ll have a full screen view on it. I''d changed the window style into WS_POPUP|WS_VISIBLE|WS_MAXIMIZE on the PreCreateWindow method of the CMainFrame but the result is my app always hiding. It works for a SDI app with a base CView.. Does anyone know how to make/change my window style in a SDI app (especially using formview since in simple SDI it works)??

Share this post

Link to post
Share on other sites
If you want your mainframe maximized on initialization, go into your app cpp file. Find the line that says


and replace it with


Don't bother with the style change.


[edited by - felisandria on April 10, 2004 11:12:01 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!