I am working on an MDI application that has a ribbon and also supports docking/floating windows. I have troubles to keep the focus on the last floating window while accessing some commands on the ribbon.
I have found this great post that gave me guidance.
With some modification I got my application working but later realized that I am not able to navigate the Ribbon via the keyboard anymore.
The above article suggests to set e.Handled = true
in PreviewGotKeyboardFocus(). Unfortunately that prevents the keyboard focus to be placed onto the Ribbon and therefore navigation is not possible.
Has anybody faced this issue before?