Hide or display the toolbar button
The main use of Function:
_DMxDrawX :: HideToolBarControl
Hide or display the toolbar button, the successful return TRUE. Details are as follows:
parameter | Explanation |
---|---|
BSTR pszToolBarName |
Toolbar Name |
BSTR pszControlName |
Button name, more button names, may be separated by commas, empty, hide or show all the buttons |
VARIANT_BOOL isHide |
Whether hidden buttons |
VARIANT_BOOL isAutoRecalcLayout |
Whether to automatically re-layout tool bars on the window |
E.g. hidden line drawing on the drawing tool bar and draw a rectangular frame button implemented c # Code Description:
axMxDrawX1.HideToolBarControl ( "drawing tool", "line drawing, painted rectangle", true, true);