Dynamic splitter windows, with views of the same class, allow the user to split a window into multiple panes at will and then scroll different panes to see different parts of the document. The user can also unsplit the window to remove the additional views. Call to construct a CSplitterWnd object. Performs the Next Pane or Previous Pane command. 3-21-17048, WIEN-ZERTTo help you implement multiple views, a document object keeps a list of its views, provides member functions for adding and removing views, and supplies the UpdateAllViews member function for letting multiple views know when the document's data has changed. You can embed a CSplitterWnd in a parent CFrameWnd or CMDIChildWnd object by taking the following steps: Embed a CSplitterWnd member variable in the parent frame. Override the parent frame's CFrameWnd::OnCreateClient member. This note describes the MFC CSplitterWnd class, which is used to provide window splits and to manage the resizing of other Pane windows. Note please be sure to read Technical Note 20 regarding use of IDs and valid ID ranges.
[PDF Version]