Compartilhar via


CButton::GetIdealSize

Retrieves the ideal size for the button control.

BOOL GetIdealSize(
   SIZE* psize 
);

Parameters

  • psize
    A pointer to the current size of the button.

Return Value

Nonzero if successful; otherwise 0.

Remarks

This member function emulates the functionality of the BCM_GETIDEALSIZE message, as described in the Buttons section of the Windows SDK.

Requirements

Header: afxwin.h

See Also

Reference

CButton Class

Other Resources

CButton Members