My app interface looks like Microsoft Outlook 2007 except I use a ribbon instead of menu toolbar on the top of window. I have NavigationBar on the left of window. I have a list of items contained in the app menu button which I used CommandBindings as execution method for them. I set SelectedIndex = -1 for NavigationBar so when I start the app, there will be no default selection on NavigationBar.
So I start my app and see there's no selection on NavigationBar, the app menu button can drop down a list of enabled items (i.e.CommandBindings works in this case, great!). But when I first-time select a NavigationPane from NavigationBar, and try to click on the app menu button, it drops down a list of all items grayed out (i.e.CommandBindings doesnt work in this case) eventhough the selected NavigationPane is highlighted. Then if I second-time select a NavigationPane (could be reselect that highlighted NavigationPane or just select another NavigationPane) then the app menu button can drop down a list of enabled items again. I dont know what's wrong with first-time selection on NavigationBar.
So I start my app and see there's no selection on NavigationBar, the app menu button can drop down a list of enabled items (i.e.CommandBindings works in this case, great!). But when I first-time select a NavigationPane from NavigationBar, and try to click on the app menu button, it drops down a list of all items grayed out (i.e.CommandBindings doesnt work in this case) eventhough the selected NavigationPane is highlighted. Then if I second-time select a NavigationPane (could be reselect that highlighted NavigationPane or just select another NavigationPane) then the app menu button can drop down a list of enabled items again. I dont know what's wrong with first-time selection on NavigationBar.