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 to contain the button text or bitmap.
virtual CSize SizeToContent(
BOOL bVCenter=FALSE,
BOOL bHCenter=FALSE
);
Parameters
[in] bVCenter
TRUE to center the button text and bitmap vertically between the top and bottom of the link control; otherwise, FALSE. The default value is FALSE.[in] bHCenter
TRUE to center the button text and bitmap horizontally between the left and right sides of the link control; otherwise, FALSE. The default value is FALSE.
Return Value
A CSize object that contains the new size of the link control.
Requirements
Header: afxlinkctrl.h