ISplitter

Provides all the accessors and methods to control the operation of a splitter layout node.

Defined in: SplitterLayout.h

Based On

ILayoutNode

Properties

int Get/SetSplitterWidth

Sets or retrieves the thickness in pixels of the splitter bars.

DrawingStyle Get/SetDrawingStyle

Sets or retrieves the drawing style of the splitter. The drawing style determines the appearance with which the splitter bars will be drawn.

DWORD Get/SetSplitterFlags

Sets or retrieves the flags that control certain aspects of how the splitter behaves.

Methods

CPoint GetSplitterPosition

Retrieves the position of the splitter bar on the bottom-right of the cell determined by the (iRow, iCol) coordinates.

void SetSplitterPosition

Programatically sets the position of the splitter bar on the bottom-right of the cell determined by the (iRow, iCol) coordinates.

CSize MoveSplitter

Moves a specified splitter bar by a given displacement.

void SetGridDimensions

Defines the dimensions of the splitter grid, so sucessive calls to ILayoutNode::AddLayoutNode can distribute the new nodes in rows and columns.

bool AddPane

Adds a new pane in the splitter in the position indicated by the coordinates (nRow, nCol) and spanning nRowSpan rows and nColSpan columns.

bool RemovePane

Removes from the splitter grid the cell indicated by (nRow, nCol) coordinates.