Share via


LVM_SETBKIMAGE (Compact 2013)

3/28/2014

This message sets the background image in a list-view control. You can send this message explicitly or by using the ListView_SetBkImage macro.

To send this message, call the SendMessage function.

Syntax

lResult = SendMessage(
   (HWND) hWndControl, 
   (UINT) LVM_SETBKIMAGE, 
   (WPARAM) wParam,    // = 0; not used, must be zero
   (LPARAM) lParam     // = (LPARAM) (LPLVBKIMAGE) plvbki;
);

Parameters

  • wParam
    Must be zero.
  • plvbki
    Pointer to an LVBKIMAGE structure that contains the new background image information.

Return Value

Returns nonzero if successful, or zero otherwise.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages