LVM_SETBKIMAGE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

List-View Controls Messages