Set a form in a VB.NET dll as a child form of the Inventor Window.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am making some extensive tools in VB.NET and coimpiling them into a dll library.
I use a short External iLogic script to reference and instantiate the dll.
In Some tools i can get away with a modal dialog and I have no issues with that.
In other situations I need to use a standard windows form for the interface..
This works as desired allowing the form while at the same time allowing the user to manipulate Inventor.
The down side is that when you click on Inventor the form goes to the back of the Windows Z-Order.
In an effort to fix the problem I tried to use the Windows SetParent() UserAPI function with the form handle and the Inventor MainFrameHwndn Hanlde. (Inside my Dll.)
This does not work and actually freezes up toolbars, buttons, and menus in my form.
Is there a work around for this?