当前位置:网站首页>CAD disable a button on the toolbar (WEB version)

CAD disable a button on the toolbar (WEB version)

2022-07-24 21:09:00 51CTO


Mainly use function description :_DMxDrawX::EnableToolBarButton

Disable or activate a command button on the control toolbar , The details are as follows :

Parameters

explain

BSTR pButtonName

Button name in toolbar

VARIANT_BOOL isEnable

Whether to disable

for example : Disable the draw line button on the Drawing toolbar :

1

​mxocx.EnableToolBarButton (_T(​​​​" Draw line "​​​​),​​​​true​​​​);​

原网站

版权声明
本文为[51CTO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/202/202207201836085743.html