The LVM_SETCOLUMNWIDTH message changes the width of a column in report or list view. You can send this message explicitly or by using the ListView_SetColumnWidth macro.
LVM_SETCOLUMNWIDTH wParam = (WPARAM) (int) iCol; lParam = MAKELPARAM((int) cx, 0);
Value |
Meaning |
LVSCW_AUTOSIZE |
Automatically sizes the column. |
LVSCW_AUTOSIZE_USEHEADER |
Automatically sizes the column to fit the header text. |
file: /Techref/os/win/api/win32/mess/src/msg12_27.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/12/1 01:27,
18.222.20.30:LOG IN
|
©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://techref.massmind.org/techref/os/win/api/win32/mess/src/msg12_27.htm"> LVM_SETCOLUMNWIDTH</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.