How do I get a reference to a Menu Item?

Topics: CAB & Smart Client Software Factory
Dec 9, 2006 at 11:08 AM
originally posted by: SKVIC20

I want to uncheck a Menu Item when the Users Selects it (if it's checked)

I add the Item (checked) to the menu in the run procedure during the module load process.

I want to now get that Menu Item I added and uncheck it, I don't see how to get a reference. I can use the command status to disable and enable but it does not provide check and uncheck....

I can get a ref to the extensionsite, but how do I get to the Menu Item...
UIExtensionSite Site = WorkItem.UIExtensionSitesProperties.Resources.MailBox

Thanks
Steve
Dec 12, 2006 at 4:27 AM
originally posted by: PJackson

http://www.gotdotnet.com/codegallery/messageboard/thread.aspx?id=22f72167-af95-44ce-a6ca-f2eafbf2653c&mbid=c09776ca-f94c-4c83-a80c-75d381cabdd6&threadid=e3c94770-f0c4-4c48-bd3a-6326eff6896c
Dec 12, 2006 at 7:18 AM
originally posted by: SKVIC20

Thanks

I would still like to get a direct reference, but I think that will work...