CUI - Adding to the menu bar

I’m attempting to add items to the menu bar in AutoCAD 2009 - my users want to stick with the menu bar rather than use the updated interface (we’re going from 2002 to 2009).

Anyway, I need to add a menu (let’s call it Primary) that contains, among other things, access to additional  menus that will be able to ‘swap out’ with each other. The Primary menu will be located in the menu bar’s first slot (e.g. Primary | File | Edit | etc.).

Primary will contain, among other entries, a ‘Reset Menu’ command, and at least two entries labeled, for the sake of explanation, Secondary1, and Secondary2.

When AutoCAD opens, the first item the user sees on the menu bar is Primary (followed by File, Edit, etc.).  The user then might expand Primary and select Secondary1, at which point Secondary1 appears on the menu bar between Primary and File (e.g. Primary | Secondary1 | File | Edit | etc.). The user can then return to Primary and select Secondary2, at which point Secondary1 is replaced by Secondary2 on the menu bar, and so on. Primary also contains a command that ‘resets’ the menu bar so that the active Secondary menu disappears, restoring the menu bar to its original appearance (Primary | File | Edit etc).

Is there a way to do this in 2009 that does not require LISP or writing a complicated macro?
tsynnottAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grifsterCommented:
You can use the workspace feature to do this.  Setup your Cui with your menu structure, then save a workspace.  Repeat until you have all the workspaces you need.  You can then call your custom workspaces from your menu if you wish by creating a custom command.  In this case it could be (WSCURRENT "Secondary1") or (WSCURRENT "Secondary2").  
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tsynnottAuthor Commented:
You nailed it - Thanks!
0
tsynnottAuthor Commented:
Nailed it!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CAD/Architecture Software

From novice to tech pro — start learning today.