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 12:20, local time: 2025/3/17 03:31,
3.128.18.131:LOG IN
|
©2025 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://ecomorder.com/techref/os/win/api/win32/mess/src/msg12_27.htm"> LVM_SETCOLUMNWIDTH</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.