Profile Picture

Hiding "Main Menu" commands...

Posted By Billy Barnes 10 Years Ago
Author
Message
Billy Barnes
hazard Posted 10 Years Ago
View Quick Profile
Junior Member

Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 20
When using this code to hide commands on the main menu of the Diagram Toolbar, I found that the "Format" and "Action" DiagramCommandRange are swapped. So when I indicate the Format range, I get the commands for Action and vice versa.

manager.Toolbars["Main Menu"].Commands[(int)DiagramCommandRange.Tools].Commands

manager.Toolbars["Main Menu"].Commands[(int)DiagramCommandRange.Action].Commands




Similar Topics


Reading This Topic