简体   繁体   中英

MFC maximize window feature

I have tried to make the fullscreen feature of a SDI application with splitter windows by following the forum link . However, my status bar, system menu as well as the title bar of the application have disappeared. Do you have any suggestions on any easy ways of getting these back (or if I have to use different method of making the application maximized during startup instead of fullscreen)? Thanks in advance.

我摆脱了PreCreateWindow处理程序中对cs结构的任何操作,并在MainFrame函数的OnCreate函数实现中使用了ShowWindow(SW_MAXIMIZE)函数调用,它运行良好。

It sounds like you just want the window to be maximized. Take a look at the SetWindowPlacement function or ShowWindow .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM