ListView_SetBkImageListView_SetBkImage*
*



Contents  *



Index  *Topic Contents
*Previous Topic: ListView_SetBkColor
*Next Topic: ListView_SetCallbackMask

ListView_SetBkImage


BOOL ListView_SetBkImage(
    HWND hwndLV,
    LPLVBKIMAGE plvbki;
);

Sets the background image in a list view control. You can use this macro or send the LVM_SETBKIMAGE message explicitly.

hwndLV
Handle to the list view control.
plvbki
Address of an LVBKIMAGE structure that contains the new background image information.

Because the list view control uses OLE COM to manipulate the background images, the calling application must call CoInitialize or OleInitialize before using this macro. It is best to call one of these functions when the application is initialized, and call either CoUnitialize or OleUnitialize when the application is terminating.

Version 4.71

See also ListView_GetBkImage


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.