Share via


CSplitterWnd::SplitColumn

virtual BOOL SplitColumn( int cxBefore );

Return Value

Nonzero if successful; otherwise 0.

Parameters

cxBefore

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

Remarks

This member function is called when a vertical splitter window is created. SplitColumn indicates the default ___location where the split occurs.

SplitColumn 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::CreateView, CSplitterWnd::SplitRow, CSplitterWnd::RecalcLayout