Share via


LVM_GETSTRINGWIDTH

A version of this page is also available for

Windows Embedded CE 6.0 R3

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.

Syntax

LVM_GETSTRINGWIDTH wParam = 0; 
    lParam = (LPARAM)(LPCSTR) psz;

Parameters

  • wParam
    Not used.
  • psz
    Pointer to a null-terminated string.

Return Value

The string width indicates success. Zero indicates failure.

Remarks

Related macro: ListView_GetSelectionMark

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ListView_GetSelectionMark
List-View Controls Messages