Disabled Items Are Not Highlighted during Key Navigation of Menu Items

Summary

Id: 7.11
Type: Bug Bug
Current Status: Open

Detail

26 Oct 2003 Open Eric Pickering

First, I'd like to say that your site is by far the best I've ever come across for Visual Basic code and controls.

But I do have a question. In your owner drawn menus, when using the keyboard to navigate the menu, the highlighting stops on Disabled items, is there a way to prevent this?

In other words, lets say I have a menu with 6 items and item number 3 is disabled, if using the keyboard, the highlight bar will show on item 1, then 2, then nothing, then 3...Is there a way to make it skip the disabled items?

6 Feb 2004 Open Steve McMahon

This is very hard to fix in the Menu control because there is no obvious way to detect if the user has navigated to an item by key rather than by mouse. Note that the vbAccelerator CommandBar control can detect this because it uses customized menus.