Compartir a través de


ListBoxView_t::DrawFocus (Windows CE 5.0)

Send Feedback

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Listboxview.hpp.

See Also

RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.