stanigator
stanigator

Reputation: 10934

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.

Upvotes: 2

Views: 9248

Answers (2)

zdan
zdan

Reputation: 29450

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

Upvotes: 0

stanigator
stanigator

Reputation: 10934

I got rid of any manipulations on the cs structure in the PreCreateWindow handler and used a ShowWindow(SW_MAXIMIZE) function call in the OnCreate function implementation of my CMainFrame function, and it works quite well.

Upvotes: 4

Related Questions