Share via


ButtonControlRectangleStyle_t (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

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

See Also

Reference

GWES OS Enumerations
ButtonView_t::DrawText