CExtGridWnd::OnGridCellPopupListBoxCalcItemExtraSizes

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Called to calculate the extra space around the list box item in the popup menu tracked by the built-in button in pixels. If the CSize( -1, -1 ) value is returned, then the grid cell class should compute required size. Otherwise, the grid class is responsible for list box item outer border measurement.

virtualCSize OnGridCellPopupListBoxCalcItemExtraSizes(
   CExtGridCell::TrackCellStateInfo_t & _tcsi,
   LONG nItemNo
) const;

Parameters

_tcsi
Reference to the helper structure that incapsulates information about the built-in button which drops down a popup menu with a list box.
nItemNo
Item index inside the list box control.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart