BCGControlBar Pro for MFC
CBCGPOutlineNode* CBCGPOutlineNode::GetInnermostBlock ( int  nOffset) const

Searches for a collabsible node by offset and returns an innermost node.

Returns
A pointer to a collapsible node found at the specified offset.

This function is used to find a collapsible node where the offset is within the node's bounds. The GetInnermostBlock, unlike GetHiddenText, returns the innermost node, not the first found. Usually, this function is used by the edit control class, when it looks for a collapsible node to apply a user's command to.

Parameters
nOffsetSpecifies the offset from the beginning of text buffer.