Keyboard navigation with floating window and ribbon

I am working on an MDI tape application, and also supports docking / floating windows. I have problems to focus on the last floating window when accessing some commands on the tape.

I found this great post that gave me tips.

With some modification, I got my application, but later realized that I can no longer navigate the tape from the keyboard.

The above article suggests setting e.Handled = true to PreviewGotKeyboardFocus (). Unfortunately, this prevents the keyboard focus from being placed on the tape, and therefore navigation is not possible.

Has anyone encountered this problem before?

+4
source share

Source: https://habr.com/ru/post/1445908/


All Articles