Prev Next
The ListView_SetColumn macro sets the attributes of a list view column.
You can use this macro or explicitly send the LVM_SETCOLUMN
message.
BOOL ListView_SetColumn(
HWND hwnd,
|
|
int iCol,
|
|
LV_COLUMN FAR *pcol
|
|
);
|
|
Parameters
-
hwnd
-
Handle to the list view control.
-
iCol
-
Index of the column.
-
pcol
-
Pointer to an LV_COLUMN structure that contains the new column
attributes. The mask member specifies which column attributes to set.
If the mask member specifies the LVCF_TEXT value, the pszText
member is the pointer to a null-terminated string and the cchTextMax
member is ignored.
Return Values
Returns TRUE if successful or FALSE otherwise.
See Also
LV_COLUMN, LVM_SETCOLUMN
file: /Techref/os/win/api/win32/mac/src/mac02_6.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/30 00:53,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/os/win/api/win32/mac/src/mac02_6.htm"> ListView_SetColumn</A> |
Did you find what you needed?
|
.
|