Compartilhar via


CMFCVisualManager::GetNcBtnSize

Called by the framework when it has to retrieve the size of the system buttons.

virtual CSize GetNcBtnSize(
   BOOL bSmall 
) const;

Parameters

  • [in] bSmall
    A Boolean parameter that indicates whether GetNcBtnSize should retrieve the size of a small or large system button. If bSmall is TRUE, GetNcBtnSize returns the size of a small system button. Otherwise, it returns the size of a large system button.

Return Value

A CSize parameter that indicate the size of the system buttons.

Remarks

The system buttons are the buttons in the caption of the frame window that map to the commands Close, Minimize, Maximize, and Restore. The size of these buttons depends on the current visual manager. Override this method if you want to customize the size of the system buttons in your application.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart