CExtGridWnd::OnGridCellInplaceControlQueryStyle

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

Called to get the attributes of the in-place cell editor window.

virtualvoid OnGridCellInplaceControlQueryStyle(
   const CExtGridCell & _cell,
   CWnd * pWndInplaceControlToCreate, 
   LONG nVisibleColNo,
   LONG nVisibleRowNo,
   LONG nColNo,
   LONG nRowNo,
   INT nColType,
   INT nRowType,
   DWORD dwAreaFlags,
   bool & bReadOnly,
   bool & bPassword,
   COLORREF & clrBack,
   COLORREF & clrText
);

Parameters

_cell
Reference to the cell object being edited.
pWndInplaceControlToCreate
Pointer to the in-place cell editor window being created.
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).
dwAreaFlags
Specifies the type of the rectangular area; this parameter is a set of __EGBWA_* values of the hit-test object.
bReadOnly
Specifies where is stored the read-only option of the in-place cell editor window.
bPassword
Specifies where is stored the password option of the in-place cell editor window.
clrBack
Specifies where is stored the background color of the in-place cell editor window. To use the default background color of the in-place editor window, assign COLORREF(-1) to this argument.
clrText
Specifies where is stored the text color of the in-place cell editor window. To use the default text color of the in-place editor window, assign COLORREF(-1) to this argument.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart