Home All Groups Group Topic Archive Search About

Adding Access keys to menu items in the Menu control

Author
23 Dec 2005 6:05 PM
Mike Tavares
Could someone point me in the right direction as to how I could go about
adding an access key to each menu item within the new menu control?
Currently it appears that the access key can only be assigned to the control
itself, and not each individual menu item.

Thanks,
Mike

Author
27 Dec 2005 5:37 PM
theintrepidfox
Hi Mike

You're riight. Even the HotSpotItem got an AccessKey Property. Not very
good if that's missing for menus but there seem to be a lot of other
flaws. If you discover this one or how to do an 'AddRange', please let
me know.

Thanks!

M
Author
5 Jan 2006 11:06 AM
theintrepidfox
Hi Mike

I came accross the following and it looks that if you use the
SiteMapDataSource,SiteMapNodeCollection,SiteMapNodeItem etc to bind to
menu control you can specify Attributes such as ALT for the
SiteMapNodeItem.

You might find the following article of interest. Just had a quick look
through but it looks very promising.

http://www.codeguru.com/csharp/csharp/cs_internet/desktopapplications/article.php/c8327__1/

HTH,

Martin


Mike Tavares wrote:
Show quoteHide quote
> Could someone point me in the right direction as to how I could go about
> adding an access key to each menu item within the new menu control?
> Currently it appears that the access key can only be assigned to the control
> itself, and not each individual menu item.
>
> Thanks,
> Mike