Share via


CImeCUICandWindow::CCandListArea::Item::PaintBackground (Windows Embedded CE 6.0)

1/6/2010

This method draws the background of the item.

Syntax

static void PaintBackground(
  HDC hDC,
  const LPRECT lprc,
  HANDLE hMetrics,
  INT iIdMenu,
  INT iIdMenuMax,
  BOOL bSel,
  BOOL fScrollBarIsVisible,
  DWORD dwFlags
);

Parameters

  • hDC
    [in] Handle to the device context for the window.
  • lprc
    [in] Pointer to a RECT structure that specifies the coordinates of the bounding rectangle for the item.
  • iIdMenu
    [in] 32-bit integer that indicates the zero-based index for the item.
  • iIdMenuMax
    [in] 32-bit integer that indicates the zero-based index for the last item displayed in the list. You can determine if the item is the last item by comparing the values for the iIdMenu and iIdMenuMax parameters.
  • bSel
    [in] Value that indicates whether the item is selected.
  • fScrollBarIsVisible
    [in] Value that indicates whether the scrollbar is visible.
  • dwFlags
    [in] Specify DRAWFLAG_DIR_LEFTRIGHT. This parameter is reserved for future use.

Return Value

None.

Requirements

Header imjpskin.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

CImeCUICandWindow
CImeCUICandWindow::CCandListArea::Item::CreateRenderingMetrics

Other Resources

RECT