The framework calls this method when it draws the border of an auto-hide button.
virtual void OnDrawBorder(
   CDC* pDC,
   CRect rectBounds,
   CRect rectBorderSize 
);
Parameters
- [in] pDC 
 A pointer to a device context.
- [in] rectBounds 
 The bounding rectangle of the auto-hide button.
- [in] rectBorderSize 
 The border thickness for each side of the auto-hide button.
Remarks
If you want to customize the border of each auto-hide button in your application, create a new class derived from the CMFCAutoHideButton Class. In your derived class, override this method.
Requirements
Header: afxautohidebutton.h