void CBCGPOutlineNode::GetBlocksByStateInRange | ( | int | nStart, |
int | nEnd, | ||
CObList & | lstBlocks, | ||
BOOL | bCollapsed, | ||
BOOL | bFullInRangeOnly = TRUE , |
||
BOOL | bRecursive = TRUE |
||
) | const |
Finds all collapsed or expanded nodes inside the specified range.
Use this function to retrieve all collapsed or expanded nodes inside the specified range.
nStart | Specifies the start of the range. It is a zero-based offset in the internal buffer of edit control. |
nEnd | Specifies the end of range. It is a zero-based offset in the internal buffer of edit control. |
lstBlocks | Output parameter. When the function returns, it will be filled with a list of blocks (nodes) having the appropriate state. |
bCollapsed | If TRUE, collapsed blocks will be returned. If FALSE, expanded blocks will be returned. |
bFullInRangeOnly | If TRUE, the function gets only the nodes that are fully included in the range. If FALSE, it also gets nodes partially included in the range. |
bRecursive | If TRUE, the function performs deep find. If FALSE, the function performs shallow find. |