Message 1 of 6
Inventor loses focus
Not applicable
02-26-2009
04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've created a toolbar addin for Inventor (using C#). The toolbar contains a couple of buttons. If you click any button it will pop up a Form dialog with Inventor window set as parent. When closing some of the Form dialogs Inventor loses focus and another window pops up in front of Inventor. It could be Microsoft Explorer or any or the open windows in the background. I don't know what causes this problem. All Form dialogs are closed in the same way. I've tried both this.Close(); and this.Dispose();. Does anyone have any idea how to solve this?