- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm developing an add-in for inventor which is a WPF window which is in a dockable window in inventor.
The window contains multiple textboxes. I'm using the wndproc hook to propagate keypress events from inventor to the wpf window. When I start typing in one of the textboxes, the first keypress is okay, but then after commands are activated that correspond to the keys. No 'LostFocus' event is triggered when this happens. I need to manually click the textbox again to focus and I can continue typing.
I've found these, but adding this had no effect. Also I assume that by adding the dockablewindow child Inventor is automatically the window owner.
Did anyone ever encounter this behavior? Am I overlooking some setting?
Are there any workarounds? I thought maybe to disable all key events while typing, but I could not find anything in the inventor API only InteractionEvents.InteractionDisabled.
Free apps: Smart Leader | Part Visibility Utility | Mate Origins
Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro
Solved! Go to Solution.