Share via


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

1/6/2010

This method draws the inline comment string.

Syntax

static void PaintInlineComment(
  HDC hDC,
  const LPRECT lprc,
  HANDLE hMetrics,
  INT iIdMenu,
  INT iIdMenuMax,
  BOOL bSel,
  BOOL fScrollBarIsVisible,
  LPCTSTR pszInlineComment,
  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.
  • pszInlineComment
    [in] Pointer to a null-terminated string that contains the inline comment string.
  • dwFlags
    [in] Set to 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