BCGControlBar Pro for MFC

Detailed Description

The CBCGPInfoBoxCtrl class implements drawing of an advanced text box control. See CBCGPInfoBoxRenderer class description for more info.

+ Inheritance diagram for CBCGPInfoBoxCtrl:

Public Member Functions

 CopyToClipboardCopies control content to the clipboard.
 GetCaptionGets the caption.
 GetIconGets the icon.
 GetLinkGets the link.
 SetCaptionSets a caption.
 SetIconSets an icon.
 SetLinkSets a link.
- Public Member Functions inherited from CBCGPStatic
 SetPictureSets a picture.
 SetPictureSets a picture.
 SetPictureSets a picture loaded from external file.
- Public Member Functions inherited from CBCGPInfoBoxRenderer
 DoDrawDraws the control content.
 GetTextHorizontalOffsetGets text horizontal offset.
 IsTextTruncatedTells whether the text is truncated.
 SetInfoBoxFontSets information box font.

Additional Inherited Members

- Public Attributes inherited from CBCGPStatic
 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.
- Public Attributes inherited from CBCGPInfoBoxRenderer
 m_bDrawMoreTooltipMarkerTRUE to draw "More" tooltip marker.
 m_bDrawShadowTRUE to draw shadow.
 m_bFixedFrameHeightSpecifies whether the info box frame occupies the whole control area vertically.
 m_bFixedFrameWidthSpecifies whether the info box frame occupies the whole control area horizontally.
 m_bIsColorBarOnLeftThe color bar location (left or right).
 m_bRoundedCornersSpecifies whether the info box frame has rounded corners.
 m_CaptionStyleThe caption style.
 m_clrBackgroundThe background color.
 m_clrCaptionThe caption text color.
 m_clrColorBarThe color bar fill color.
 m_clrForegroundThe text color.
 m_clrFrameThe frame color.
 m_clrLinkThe link color.
 m_nColorBarWidthThe color bar width (in pixels).
 m_nHorzAlignThe horizontal align (TA_LEFT, TA_CENTER or TA_RIGHT).
 m_nIconIndexZero-based index of the predefined icon.
 m_nVertAlignThe vertical align (TA_TOP, TA_CENTER or TA_BOTTOM).
 m_rectPaddingThe control padding.