Expand Minimize

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


BOOL ListView_GetEmptyText(
  [in]       HWND hwnd,
  [in, out]  PWSTR pszText,
  [in]       UINT cchText
);

Parameters

hwnd [in]

Type: HWND

A handle to the list-view control.

pszText [in, out]

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 [in]

Type: UINT

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

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft