ListBoxView_t::DrawBackground

This method draws the background of a list box.

static void DrawBackground(
  HWND hwnd,
  HWND hwndOwner,
  HDC hdc,
  RECT* prc
);

Parameters

  • hwnd
    [in] Handle to a list box window.
  • hwndOwner
    [in] Handle to the window that owns hwnd. The method attempts to retrieve the brush from the hwnd parent window; if there is none, it will then retrieve the brush from hwndOwner.
  • hdc
    [in] Handle to a device context.
  • prc
    [in] Pointer to a RECT structure that specifies the bounding rectangle for the background to be drawn in the list box.

Requirements

OS Versions: Windows CE 5.01 and later.
Header: Listboxview.hpp.

See Also

RECT