.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable Ribbon Button

1 REPLY 1
Reply
Message 1 of 2
wesbird
611 Views, 1 Reply

Enable Ribbon Button

Hi,
Is it possible to enable/disable ribbon button from code.
I have my application which need login. I like to disable all button except Login, enable them all once login.



thanks
Wes


AutoCAD 2010, Visual Studio 2008
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
1 REPLY 1
Message 2 of 2
DeathTiger
in reply to: wesbird

I'm not to sure if this will help, but using the Visual Studio Object Browser I uncovered the following method.

{code}Autodesk.AutoCAD.Internal.Reactors.CuiEventManager.LoadRibbon{code}

As for unloading I cannot find any reference or anything similar to it.


> {quote:title=wesbird wrote:}{quote}
> Hi,
> Is it possible to enable/disable ribbon button from code.
> I have my application which need login. I like to disable all button except Login, enable them all once login.
>
> thanks
> Wes
>
> AutoCAD 2010, Visual Studio 2008

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost