BCGControlBar Pro for MFC
virtual void CBCGPToolbarButton::OnSize ( int  iSize)
inlinevirtual

Called by the framework to notify the button that its parent toolbar has changed its size and/or position and the button should resize itself accordingly.

This function is called by the framework to notify the button that its parent toolbar has changed its size and/or position and the button should resize itself accordingly.

The default implementation does nothing.

Parameters
iSizeSpecifies the new width of the button.