BCGControlBar Pro for MFC
CBCGPMultiLinkCtrl

Detailed Description

The CBCGPMultiLinkCtrl provides the functionality similar to the Windows common SysLink control.

The functionality of this control is very similar to standard MFC CLinkCtrl, but CBCGPMultiLinkCtrl has the following additional features such as:

  • Visual Themes support
  • Link tooltips
  • Custom colors

You can create the CBCGPMultiLinkCtrl controls in the same way as you create the regular CBCGPStatic objects.

See also
CBCGPStatic
+ Inheritance diagram for CBCGPMultiLinkCtrl:

Public Member Functions

 AreToolTipsEnabledTells whether the links tooltips are enabled.
 
 EnableToolTipsEnables or disabled links tooltips.
 
 GetFocusedLinkReturns zero-based index of the focused link or (-1) if no link is focused.
 
 GetIdealHeightRetrieves the preferred height of a link for the control's current width.
 
 GetIdealSizeRetrieves the preferred size of a link for the specified width.
 
 GetItemRetrieve the states and attributes of an item.
 
 GetItemIDRetrieves the ID of a link control item.
 
 GetItemIDRetrieves the ID of a link control item.
 
 GetItemStateRetrieves the state of the link control item.
 
 GetItemUrlRetrieves the URL represented by the link control item.
 
 GetItemUrlRetrieves the URL represented by the link control item.
 
 GetLinksCountReturns a number of the links.
 
 HitTestDetermines whether the user clicked the specified link.
 
 SetFocusedLinkSets the focused link.
 
 SetItemSets the states and attributes of a link control item.
 
 SetItemIDSets the ID of a link control item.
 
 SetItemStateSets item state.
 
 SetItemUrlSets the URL represented by the link control item.
 
- Public Member Functions inherited from CBCGPStatic
 IsCaptionModeTells whether control has a caption mode.
 
 IsTitleModeTells whether control has a title mode.
 
 SetCaptionModeSpecifies whether control has a caption mode.
 
 SetPictureSets a picture.
 
 SetPictureSets a picture.
 
 SetPictureSets a picture loaded from external file.
 
 SetPictureSets a picture.
 
 SetPictureSets a picture.
 
 SetTitleModeSpecifies whether control has a title mode.
 

Public Attributes

 m_bUnderlineLinksSpecifies whether the links are underlined.
 
 m_clrLinkThe foreground color of the link.
 
 m_clrLinkDisabledThe foreground color of the disabled link.
 
 m_clrLinkVisitedThe foreground color of the visited link.
 
- Public Attributes inherited from CBCGPStatic
 m_bDPIAwareIconSpecifies whether icon is DPI-aware.
 
 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_clrBkgndSpecifies background color.
 
 m_clrTextSpecifies text color.
 

Additional Inherited Members

- Static Public Attributes inherited from CBCGPStatic
 m_bCheckAlignmentInSizeToContentIf this global member is True, SizeToContent() method takes into account control horizontal alignment (e.g., when alignment is right, the right position remains unchanged). By default, this member is FALSE.