Compartilhar via


CSplitterWnd::SplitColumn

Indicates where a frame window splits vertically.

virtual BOOL SplitColumn( 
   int cxBefore  
);

Parameters

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

Return Value

Nonzero if successful; otherwise 0.

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.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CSplitterWnd::CreateView

CSplitterWnd::SplitRow

CSplitterWnd::RecalcLayout