EditView_t::DrawSelection

This method draws the selection in an edit box.

static void DrawSelection(
  HDC hdc,
  RECT* prc,
  COLORREF* prcOldBackgroundColor,
  COLORREF* prcOldTextColor
);

Parameters

  • hdc
    [in] Handle to a device context.
  • prc
    [in] Pointer to a RECT structure that specifies the bounding rectangle for a selected item in an edit box.
  • prcOldBackgroundColor
    [out] Pointer to a COLORREF structure that receives the previous background color.
  • prcOldTextColor
    [out] Pointer to a COLORREF structure that receives the previous text color.

Requirements

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

See Also

RECT | COLORREF