LVM_GETSTRINGWIDTH

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This 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;

wParam

Not used.

psz

Pointer to a null-terminated string.

The string width indicates success. Zero indicates failure.

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: