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?
|
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. |