Hi,
I'm trying to add context help to my application following the method described here
http://www.codeproject.com/Articles/36117/Easy-help-with-WPF.aspx
In the main window I'm using the RadDocking to host some children views. I'm following the standard procedures described in the RadDocking document, using DocumentHost, RadSplitContainer and RadPaneGroup.
When I start the app and press the F1 button without clicking anything else, I expect the mouse click to be originated from the main Window. But when I debug I found that the sender of the keyboard input is from a Telerik.Windows.Controls.RadDock.FakePopup.
I can't find any document regarding this class. And I have no idea what it is and why it took the keyboard focus by default after my app starts.
One thing for sure is, it's invisible.
The only solution is to click somewhere on my main window first to get the focus back to where it should be. Then my F1 works as normal.
Can anyone help with it? Why RadDocking brings a FakePopup in my app and set it on focus? Is it something to do with the floating mode of the dockable panes? Urgently waiting for answers.
Many thanks!
P.S. I'm going to prepare a demo solution to showcase the point. But actually it's very easy to reproduce. You just need to enable the context help and add a normal RadDocking control in the main window, then put a break point at the HelpProvider's Execute method. During runtime, check the sender and you will see the FakePopup.
I'm trying to add context help to my application following the method described here
http://www.codeproject.com/Articles/36117/Easy-help-with-WPF.aspx
In the main window I'm using the RadDocking to host some children views. I'm following the standard procedures described in the RadDocking document, using DocumentHost, RadSplitContainer and RadPaneGroup.
When I start the app and press the F1 button without clicking anything else, I expect the mouse click to be originated from the main Window. But when I debug I found that the sender of the keyboard input is from a Telerik.Windows.Controls.RadDock.FakePopup.
I can't find any document regarding this class. And I have no idea what it is and why it took the keyboard focus by default after my app starts.
One thing for sure is, it's invisible.
The only solution is to click somewhere on my main window first to get the focus back to where it should be. Then my F1 works as normal.
Can anyone help with it? Why RadDocking brings a FakePopup in my app and set it on focus? Is it something to do with the floating mode of the dockable panes? Urgently waiting for answers.
Many thanks!
P.S. I'm going to prepare a demo solution to showcase the point. But actually it's very easy to reproduce. You just need to enable the context help and add a normal RadDocking control in the main window, then put a break point at the HelpProvider's Execute method. During runtime, check the sender and you will see the FakePopup.