CMFCButton::SelectFont

Retrieves the font that is associated with the specified device context.

virtual CFont* SelectFont(
   CDC* pDC 
);

Parameters

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

Return Value

Override this method to use your own code to retrieve the font.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart