CExtGridWnd::OnGridCellInplaceControlWindowProc

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

Called to intercept calls of MFC's CWnd::WindowProc() virtual method of the in-place active cell edit window. The method returns true if the message has been handled.

virtualbool OnGridCellInplaceControlWindowProc(
   CExtGridCell & _cell,
   LRESULT & lResult,
   UINT nMessage,
   WPARAM wParam,
   LPARAM lParam,
   HWND hWndInplaceControl,
   LONG nVisibleColNo,
   LONG nVisibleRowNo,
   LONG nColNo,
   LONG nRowNo,
   INT nColType,
   INT nRowType,
   const RECT & rcCellExtra,
   const RECT & rcCell,
   const RECT & rcInplaceControl
);

Parameters

_cell
Reference to the cell object being edited.
lResult
Reference to the LRESULT variable in which the message handler's return value is saved.
nMessage
Message code.
wParam
Specifies the WPARAM message parameter.
lParam
Specifies the LPARAM message parameter.
hWndInplaceControl
Handle to the in-place active cell editor window.
nVisibleColNo
Column index relative to the first visible column on the left.
nVisibleRowNo
Row index relative to the first visible row at the top.
nColNo
Column index.
nRowNo
Row index.
nColType
Type of the column (0 - inner column, -1 - outer column on left, 1 - outer column on right).
nRowType
Type of the row (0 - inner row, -1 - outer row at top, 1 - outer row at bottom).
rcCellExtra
Rectangular area of the cell including extra outer spaces.
rcCell
Specifies the rectangular area of the cell that is used to display the cell data.
rcInplaceControl
Rectangular area of the in-place active cell editor window.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart