ListView_GetEmptyText macro

Gets the text meant for display when the list-view control appears empty. Use this macro or send the LVM_GETEMPTYTEXT message explicitly.

Syntax

void ListView_GetEmptyText(
   hwnd,
   pszText,
   cchText
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

pszText

Type: PWSTR

A pointer to a null-terminated, Unicode buffer of size specified by cchText to receive the text. The caller is responsible for allocating the buffer.

cchText

Type: UINT

The size of the buffer pointed to by pszText, including the terminating NULL.

Return value

None

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h