suppose i have two toolwindows(toolwindow1,toolwindow2) in my sample wpf application.
I focus the toolwindow1 by clicking on the toolwindow1 title bar.
Now i press the shift+escape key.Its closing the toolwindow1.
This blocking is acieved by handling the Preview key down event handler and set e.Handled=true.
But when i float the toolwindow1 and now i press the Shift+escape then it not going to that Preview key down event handler.
So how to restrict the shift+escape while toolwindow is in floating state ?
Is there any generic mechanicm for it independent of the toolwindow state ?