简体   繁体   中英

Control the size of CView MFC

I have a MFC app where I am using more than one CViews. (Single Document) My problem is that when I maximize the size of the existing view and open another cview, the first cview size automatically get minimized. Is there a way to keep the first window as maximized or is this the normal behavior with multiple views in MFC? Thanks.

Your post is unclear. Could you please clarify?

You are referring to MFC SDI application and multiple views.

However, while it is possible to have multiple views in SDI app, there is no way user can control minimizing or maximizing views; the code is responsible for managing views size.

How your views are minimized or maximized?

If your application was created as SDI with multi top-level documents, minimizing/maximizing one frame does not affect another.

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