Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Resizes the button control to fit its text and image.
virtual CSize SizeToContent(
BOOL bCalcOnly=FALSE
);
Parameters
- [in] bCalcOnly
If nonzero, the new size of the button control is calculated but the actual size is not changed.
Return Value
A CSize object that specifies a new button control size.
Requirements
Header: afxcolorbutton.h