Message 1 of 5
Dockable Window using WindowsFormsHost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I have a Dockable Window containing a WinForms UserControl hosted by a WindowsFormsHost.
I'm having trouble with shortcut keys.
For example:
- Copy/Paste (Ctrl+c/Ctrl+v) in textboxes doesn't work.
- Selecting text in a textbox and hitting the Delete key triggers revit delete command prompting for a selection.
Shortcut keys are supported by WinForms and WPF interop.
https://msdn.microsoft.com/en-us/library/ms751797(v=vs.100).aspx
With a WPF UserControl in a Dockable Window the shortcut keys work as expected.
Does anyone know of a solution to this other than porting my WinForms UserControls to WPF?
Thanks
Annse
