Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the text meant for display when the list-view control appears empty. Use this macro or send the LVM_GETEMPTYTEXT message explicitly.
BOOL ListView_GetEmptyText(
[in] HWND hwnd,
[in, out] PWSTR pszText,
[in] UINT cchText
);
[in] hwnd
Type: HWND
A handle to the list-view control.
[in, out] 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.
[in] cchText
Type: UINT
The size of the buffer pointed to by pszText, including the terminating NULL.
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |