CTreePropertySheet::InsertExtraSpace

CTreePropertySheet::InsertExtraSpace( int nVertArrange,
int row,
int col,
int nWidth = -1,
int nHeight);

Parameters

nVertArrange Defines in which pane this control should be inserted.
Can be tps_above or tps_below - above all standard elements or below them.
row,col Defines the position to place the control.
Do not assign the same position twice.
nWidth,nHeight Defines the space to be reserved for this control.
nWidth==1 means that this item should consume all unused space in the current row.

Remarks

This function inserts a dummy extra control.
If nWidth equals -1, this dummy control takes up all unused space in the current row of extra controls, so the next extra control which is located in the same row will be positioned on the rightmost border.