CExtHyperLinkButton::OnPaintHyperLink

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Paints the contents of the entire hyperlink control.

virtualCRect OnPaintHyperLink(
   CDC & dc,
   CRect rcText,
   bool bVisited,
   bool bEnabled,
   bool bDrawFocusRect,
   bool bFocus,
   bool bHover,
   bool bPushed
);

Parameters

dc
Device context for painting.
rcText
Specifies the rectangle in which the text is to be drawn.
bVisited
Specifies that the hyperlink is visited if this argument is set to true.
bEnabled
Specifies that the control is enabled if bEnabled is set to true; disabled otherwise.
bDrawFocusRect
Specifies that the focus rectangle is drawn if this argument is set to true.
bFocus
Specifies that the control is focused if this argument is set to true.
bHover
Specifies that the control is hovered by the mouse pointer if this argument is set to true.
bPushed
Specifies that the control is pressed if this argument is set to true.

See Also

CExtHyperLinkButton Overview | Class Members | Hierarchy Chart