LVN_GETEMPTYMARKUP notification code

Sent by list-view control to its parent window when the control has no items. The LVN_GETEMPTYMARKUP notification code is a request for the parent window to provide markup text. This notification code is sent in the form of a WM_NOTIFY message.

LVN_GETEMPTYMARKUP
        
    pnmMarkup = (NMLVEMPTYMARKUP*) lParam;

Parameters

lParam

Pointer to a NMLVEMPTYMARKUP structure. Set the members of this structure to provide markup text for the list-view control.

Return value

Return TRUE to set the markup text in the list-view control, or FALSE otherwise.

Remarks

The notification receiver casts lParam to retrieve the NMLVEMPTYMARKUP structure. The wParam parameter contains the ID of the control that sends this message.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h