CExtGridWnd::OnGridCellInplaceControlSliderInputVerify

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

Called during slider cell editing. By overriding this method you can filter and modify the text inside the in-place active cell editor window. The method returns true if the string value stored in the nPosNew parameter has been modified.

virtualbool OnGridCellInplaceControlSliderInputVerify(
   CExtGridCell & _cell,
   HWND hWndInplaceControl,
   LONG nVisibleColNo,
   LONG nVisibleRowNo,
   LONG nColNo,
   LONG nRowNo,
   INT nColType,
   INT nRowType,
   INT nPosInitial,
   INT nPosPrevious,
   INT & nPosNew,
   bool bEndEdit
);

Parameters

_cell
Reference to the cell object being edited.
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).
nPosInitial
Specifies the slider position that is stored in the in-place editor window at the beginning of editing.
nPosPrevious
Specifies the slider position that is stored in the in-place editor window before the last text change.
nPosNew
Reference to the slider position object which contains text of the in-place active cell editor window. This slider position can be changed in the overridden method.
bEndEdit
Indicates that the method is invoked to implement the final text verification before the in-place active cell editor is closed if this argument is true.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart