共用方式為


CMFCAutoHideButton::OnDraw

The framework calls this method when it draws the auto-hide button.

virtual void OnDraw(
   CDC* pDC 
);

Parameters

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

Remarks

If you want to customize the appearance of auto-hide buttons in your application, create a new class derived from the CMFCAutoHideButton Class. In your derived class, override this method.

Requirements

Header: afxautohidebutton.h

See Also

Reference

CMFCAutoHideButton Class

Hierarchy Chart