Compartir a través de


ButtonControlRectangleStyle_t (Windows CE 5.0)

Send Feedback

This enumeration provides values that specify the type of button to draw or for which to calculate a focus rectangle.

enum ButtonControlRectangleStyle_t {CBR_CLIENTRECT,  CBR_CHECKBOX,  CBR_CHECKTEXT,  CBR_GROUPTEXT,  CBR_GROUPFRAME,  CBR_PUSHBUTTON};

Elements

  • CBR_CLIENTRECT
    Specifies an owner-drawn button. An owner-drawn button is a button with the BS_OWNERDRAW style.
  • CBR_CHECKBOX
    Calculates the focus rectangle for a check box or radio button, including buttons with the BS_CHECKBOX, BS_RADIOBUTTON, BS_AUTORADIOBUTTON, BS_3STATE, BS_AUTOCHECKBOX, or BS_AUTO3STATE style.
  • CBR_CHECKTEXT
    Draws the text for a check box or radio button, including buttons with the BS_CHECKBOX, BS_RADIOBUTTON, BS_AUTORADIOBUTTON, BS_3STATE, BS_AUTOCHECKBOX, or BS_AUTO3STATE style.
  • CBR_GROUPTEXT
    Draws the text for a group box. A group box is a button with the BS_GROUPBOX style.
  • CBR_GROUPFRAME
    Calculates the focus rectangle for a group box. A group box is a button with the BS_GROUPBOX style.
  • CBR_PUSHBUTTON
    Specifies a push button or default push button. These buttons have the BS_PUSHBUTTON or BS_DEFPUSHBUTTON style.

Requirements

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

See Also

ButtonView_t::DrawText

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.