BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::OnOutlineButtonClick ( int  nOffset)

Called by the framework when a user clicks left mouse button at the outline margin.

Nonzero, if the collapsible node was found for the specified offset and its handler succeeded.

This function searches the collapsible node by specified offset and then calls OnOutlineButtonClick (CBCGPOutlineNode *pOutlineNode) function.

nOffsetSpecifies the zero-based offset in internal buffer of the edit control. This offset is recalculated to a line of the collapsible node.