BCGControlBar Pro for MFC
virtual CSize CBCGPURLLinkButton::SizeToContent ( BOOL  bVCenter = FALSE,
BOOL  bHCenter = FALSE 
)
virtual

Sizes the button to accommodate the text or bitmap.

Call this function to resize a URL link button to the size of the URL text or bitmap (if the bitmap is set along the URL name) .

Parameters
bVCenterVertical offset.
bHCenterHorizontal offset.