|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| commctrl.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
LVM_GETSTRINGWIDTH
The LVM_GETSTRINGWIDTH message determines the width of a specified string,
using the specified list view control's current font. You can send this message
explicitly or by using the
ListView_GetStringWidth macro.
LVM_GETSTRINGWIDTH
wParam = 0;
lParam = (LPARAM) (LPCSTR) psz;
Parameters
psz
Pointer to a null-terminated string.
Return Values
Returns the string width if successful or zero otherwise.
Remarks
The LVM_GETSTRINGWIDTH message returns the exact width, in pixels, of the
specified string. If you use the returned string width as the column width in the
LVM_SETCOLUMNWIDTH message, the string will be truncated. To get the column
width that can contain the string without truncating it, you must add padding to
the returned string width.
See Also
ListView_GetStringWidth,
LVM_SETCOLUMNWIDTH
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database