CExtGridWnd::OnGridCellInplaceControlIPAddressInputVerify

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

Called when the user changes the IP address in the in-place editor. The method returns true if the IP address is valid or false otherwise.

virtualbool OnGridCellInplaceControlIPAddressInputVerify(
   CExtGridCell & _cell,
   HWND hWndInplaceControl,
   LONG nVisibleColNo,
   LONG nVisibleRowNo,
   LONG nColNo,
   LONG nRowNo,
   INT nColType,
   INT nRowType,
   DWORD dwIPAddressInitial,
   DWORD dwIPAddressPrevious,
   DWORD & dwIPAddressNew,
   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).
dwIPAddressInitial
Specifies the IP address data that is stored in the in-place editor window at the beginning of editing.
dwIPAddressPrevious
Specifies the IP address data that is stored in the in-place editor window before the last text change.
dwIPAddressNew
Reference to the IP address data object which contains text of the in-place active cell editor window. This IP address value 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