Compartir a través de


CImeCUICandWindow::CCandListArea::Item::PaintBackground (Windows CE 5.0)

Send Feedback

This method draws the background of the item.

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.
  • hMetrics
    [in] Handle that was returned by the CreateRenderingMetrics method.
  • 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 Values

None.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Imjpskin.h.

See Also

CImeCUICandWindow | RECT | CreateRenderingMetrics

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.