![Avatar](https://secure.gravatar.com/avatar/82be26dac653813a7ee2e81d0a3a8f17.jpg?s=64&d=identicon&r=g)
I have an application with a toolbox on the left (mditabbed).
On the right is a documentwindow.
If I now close the (last) documentwindow the ribbonbarmenu items are disabled. My Menu contains a New which is always enabled (e.CanExecute=True), but it is disabled???
When I now click on the left toolbox and after that open the menu, the New is Enabled.
While debugging I can see that the CanExecute function is not triggered.
Seems there is a focus problem with the ribbonbar.
[Modified at 04/15/2009 01:32 AM]
On the right is a documentwindow.
If I now close the (last) documentwindow the ribbonbarmenu items are disabled. My Menu contains a New which is always enabled (e.CanExecute=True), but it is disabled???
When I now click on the left toolbox and after that open the menu, the New is Enabled.
While debugging I can see that the CanExecute function is not triggered.
Seems there is a focus problem with the ribbonbar.
[Modified at 04/15/2009 01:32 AM]