ISplitter::AddPane method
Adds a new pane in the splitter in the position indicated by the coordinates (nRow, nCol) and spanning nRowSpan rows and nColSpan columns.Defined in: SplitterLayout.h
Parameters
pNode
Layout node that will occupy the area reserved for the pane being created.
nRow
Row position of the topmost cell of the pane.
nCol
Column position of the leftmost cell of the pane.
nRowSpan
Number of rows occupied by the pane. Default is 1.
nColSpan
Number of columns occupied by the pane. Default is 1.
Comments
A pane is a set of contiguous cells that are all occupied by the same layout node. No splitter bars go across a pane; it is resized as though it were a single cell.Use AddPane() instead of ILayoutNode::AddLayoutNode to take advantage of the special characteristics of the splitter, like cell spanning and positioning.