BCGControlBar Pro for MFC
CBCGPGroup

Detailed Description

The CBCGPGroup class implements drawing of a group control using Visual Manager. It's also designed to support drawing on DWM ("Glass") window area.

This control is created automatically when you call EnableVisualManagerStyle for CBCGPDialog, CBCGPDialogBar, CBCGPPropertySheet and CBCGPPropertyPage classes.

Inherits CButton.

Public Types

enum  CheckRadioStyle
 

Public Member Functions

 CBCGPGroupDefault constructor.
 
 AreGroupControlsVisibleTells whether controls located inside the group are visible.
 
 GetCheckTells whether Group Box is checked.
 
 GetCheckRadioStyleGets a Group Box check radio style.
 
 GetInvisibleControlsPromptGets invisible controls text prompt.
 
 GetInvisibleControlsPromptColorGets invisible controls text prompt color.
 
 SetCheckCheck/uncheck a Group box.
 
 SetCheckRadioStyleSpecifies a Group Box caption style.
 
 SetGroupControlsVisibleSpecifies whether controls located inside the group are visible.
 

Public Attributes

 m_bOnGlassSpecifies whether a control is located on the "glass" (DWM) area of the parent window.
 
 m_bVisualManagerStyleSpecifies whether a control has a Visual Manager style look.
 
 m_clrTextSpecifies text color.
 

Protected Member Functions

 EnableControlsInGroupCalled by the framework when controls located in the Group Box bounds need to be enabled or disabled.
 
 OnDrawCalled by the framework to render a group control.