BCGSuite for MFC
virtual BOOL CBCGPEditCtrl::OnOutlineButtonClick ( int  nOffset)
virtual

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

Returns
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.

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