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

Returns a set of standard Win32 API's DT_* flags which specify the method of formatting the in place edited text of the grid cell.

virtualUINT OnQueryDrawTextFlags(
   LONG nVisibleColNo,
   LONG nVisibleRowNo,
   LONG nColNo,
   LONG nRowNo,
   INT nColType,
   INT nRowType,
   DWORD dwAreaFlags,
   DWORD dwHelperPaintFlags,
   bool bIncludeHorizontalFlags = true,
   bool bIncludeVerticalFlags = true,
   bool bIncludeOtherFlags = true
) const;

Parameters

nVisibleColNo
Index of the column relative to the first visible column from the left.
nVisibleRowNo
Index of the row relative to the first visible row from the top.
nColNo
Column index.
nRowNo
Row index.
nColType
Type of column (0 - inner column, -1 - outer column on left, 1 - outer column on right).
nRowType
Type of row (0 - inner row, -1 - outer row at top, 1 - outer row at bottom).
dwAreaFlags
Specifies a set of the __EGBWA_* flags (defined in the hit-test object) that describes the type of the rectangular area.
dwHelperPaintFlags
Specifies a set of the __EGCPF_* flags that provide the painting algorithm with information about if the cell is hovered, highlighted or drag-and-dropped.
bIncludeHorizontalFlags
Specifies that the horizontal alignment flags should be included to the returned value if bIncludeHorizontalFlags is true.
bIncludeVerticalFlags
Specifies that the vertical alignment flags should be included to the returned value if bIncludeVerticalFlags is true.
bIncludeOtherFlags
Specifies that non-alignment flags should be included to the returned value if bIncludeOtherFlags is true.

See Also

CExtGridCell Overview | Class Members | Hierarchy Chart