Home > Software engineering >  MFC single document development, multi-level development of frame window
MFC single document development, multi-level development of frame window

Time:09-19

The single document development, by CMainFrame - CSplitterWnd - CFrameWnd - CSplitterWnd - the CView
The first layer split window by CMainFrame member variables, CSplitterWnd object is generated,
The second split window generated by CFrameWnd subclass, structural member variables, CSplitterWnd object generated
How to get the second split window size of each pane

CodePudding user response:

Use the CSplitterWnd GetPane , GetClientRect can get size


CodePudding user response:

CMainFrame represents the main window, and it is his child window is a CSplitterWnd object split window, or a subclass of inherited from the CFrameWnd class represented by the window?

CodePudding user response:

Is a CSplitterWnd object split window
Derived from the CView Cxxxview
  • Related