Compartilhar via


CMFCBaseVisualManager::DrawRadioButton

Draws a radio button control by using the current Windows theme.

virtual BOOL DrawRadioButton(
   CDC *pDC, 
   CRect rect, 
   BOOL bHighlighted, 
   BOOL bChecked, 
   BOOL bEnabled, 
   BOOL bPressed  
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] rect
    The bounding rectangle of the radio button.

  • [in] bHighlighted
    Specifies whether the radio button is highlighted.

  • [in] bChecked
    Specifies whether the radio button is checked.

  • [in] bEnabled
    Specifies whether the radio button is enabled.

  • [in] bPressed
    Specifies whether the radio button is pressed.

Return Value

TRUE if Theme API is enabled; otherwise FALSE.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCBaseVisualManager Class

Hierarchy Chart