BCGControlBar Pro for MFC
virtual CRect CBCGPGridCtrl::OnGetPreviewRowMargins ( CBCGPGridRow pRow) const
virtual

Called by the Grid control to determine offsets of the preview text within the "preview pane (row)".

This method returns a rectangle that specifies offsets of the preview text within the "preview pane (row)".

Override this method in a derived class to customize the margins. By the default horizontal margins are defined by m_nPreviewRowLeftMargin and m_nPreviewRowRightMargin.

Parameters
pRowA pointer to a row for which this function returns the margins.