CSplitterWnd::SplitRow

virtual BOOL SplitRow( int cyBefore );

Return Value

Nonzero if successful; otherwise 0.

Parameters

cyBefore

The position, in pixels, before which the split occurs.

Remarks

This member function is called when a horizontal splitter window is created. SplitRow indicates the default location where the split occurs.

SplitRow is called by the framework to implement the logic of the dynamic splitter window (that is, if the splitter window has the SPLS_DYNAMIC_SPLIT style). It can be customized, along with the virtual function CreateView, to implement more advanced dynamic splitters.

CSplitterWnd OverviewClass MembersHierarchy Chart

See Also   CSplitterWnd::SplitColumn, CSplitterWnd::CreateView, CSplitterWnd::RecalcLayout