CMFCLinkCtrl::OnDrawFocusRect

Called by the framework before the focus rectangle of the button is drawn.

virtual void OnDrawFocusRect(
   CDC* pDC,
   const CRect& rectClient 
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] rectClient
    A rectangle that bounds the link control.

Remarks

Override this method when you want to use your own code to draw the button's focus rectangle.

Requirements

Header: afxlinkctrl.h

See Also

Reference

CMFCLinkCtrl Class

Hierarchy Chart