Share via


ListBoxView_t::DrawFocus (Windows Embedded CE 6.0)

1/6/2010

This method draws or removes a focus rectangle around a list box item.

Syntax

static void DrawFocus(
  HDC hdc,
  RECT* prc,
  bool bOn
);

Parameters

  • hdc
    [in] Handle to a device context.
  • prc
    [in] Pointer to a RECT structure that specifies the bounding rectangle for an item in a list box.
  • bOn
    [in] Boolean that specifies whether ListBoxView_t::DrawFocus should draw or remove the focus rectangle. TRUE indicates that the method should draw the focus rectangle. FALSE indicates that the method should remove the focus rectangle.

Requirements

Header listboxview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ListBoxView_t
RECT