Click or drag to resize

ListView.SetColumnFormat Method

X#
Set the desired extended style for a list view.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetColumnFormat(
	nCol,
	dwFlag,
	nImage
) AS USUAL CLIPPER
Request Example View Source

Parameters

nCol (Optional)
Type: Usual
The column index number.
dwFlag (Optional)
Type: Usual
Flags that can be set to create the required style. More than one style can be used by combining them with _Or() Available styles are - HDF_CENTER Allign the column to the center. HDF_LEFT Allign the column to the left. This is the default. HDF_RIGHT Allign the column to the right. HDF_BITMAP Add a bitmap to the left of the column. HDF_BITMAP_ON_RIGHT Add a bitmap to the right of the column. HDF_SORTDOWN down arrow in header - For visual themes only HDF_SORTUP up arrow in header - For visual themes only
nImage (Optional)
Type: Usual
the number of the image in the image list to display in the column header. The default is no image.

Return Value

Type: Usual
TRUE, if the style was enabled; otherwise, FALSE.
See Also