Share via


CMFCRibbonLinkCtrl Class

Implements a hyperlink that is positioned on a ribbon. The hyperlink opens a Web page when you click it.

class CMFCRibbonLinkCtrl : public CMFCRibbonButton

Members

Public Constructors

Name

Description

CMFCRibbonLinkCtrl::CMFCRibbonLinkCtrl

Constructs and initializes a CMFCRibbonLinkCtrl object.

Public Methods

Name

Description

CMFCRibbonLinkCtrl::CopyFrom

  (Overrides CMFCRibbonButton::CopyFrom.)

CMFCRibbonLinkCtrl::GetCompactSize

  (Overrides CMFCRibbonButton::GetCompactSize.)

CMFCRibbonLinkCtrl::GetLink

Returns the value of the hyperlink.

CMFCRibbonLinkCtrl::GetRegularSize

  (Overrides CMFCRibbonButton::GetRegularSize.)

CMFCRibbonLinkCtrl::GetToolTipText

  (Overrides CMFCRibbonButton::GetToolTipText.)

CMFCRibbonLinkCtrl::IsDrawTooltipImage

  (Overrides CMFCRibbonButton::IsDrawTooltipImage.)

CMFCRibbonLinkCtrl::OnDraw

  (Overrides CMFCRibbonButton::OnDraw.)

CMFCRibbonLinkCtrl::OnDrawMenuImage

  (Overrides CMFCRibbonBaseElement::OnDrawMenuImage.)

CMFCRibbonLinkCtrl::OnMouseMove

  (Overrides CMFCRibbonButton::OnMouseMove.)

CMFCRibbonLinkCtrl::OnSetIcon

 

CMFCRibbonLinkCtrl::OpenLink

Opens the Web page specified in the hyperlink.

CMFCRibbonLinkCtrl::SetLink

Sets the value of the hyperlink.

Remarks

After you create a hyperlink, add it to a panel by calling CMFCRibbonPanel::Add.

Inheritance Hierarchy

CObject   CMFCRibbonBaseElement

      CMFCRibbonButton         CMFCRibbonLinkCtrl

Requirements

Header: afxRibbonLinkCtrl.h

See Also

Reference

Hierarchy Chart

CMFCRibbonButton Class

Other Resources

MFC Classes