RecalcLayout Method
Description
Call this method to re-calculate the layout of the command bar after making a layout change.
Syntax
Public Sub RecalcLayout()
Remarks
Call the RecalcLayout method to correctly size the command bar when the layout has changed. Layout refers to anything that changes the size of the command bar. For example, a layout change that requires the RecalcLayout method to be called would be changing the caption of a Popup control (popups in the menu bar) when it is visible because the new caption could be smaller or wider, or the width of an edit control.
For visible changes to the command bar, such as changing the icon of a visible button, the RedrawBar method is used.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.