|
-
Feb 9th, 2012, 10:10 AM
#1
Thread Starter
Fanatic Member
Interop and Modal Forms
I have a .NET application that calls a method in a COM component to show a dialog. Unfortunately, you can't pass the .NET form to the COM component to set the owner form without a type mismatch:
_ComForm.Show vbModal, _DotNetForm
So, what that means is the form is displayed without a parent form. The problem is, if the user launches the COM form and then while the dialog is shown, clicks to another application and then returns to my application, the COM form is now behind the .NET owner form and most users won't know how to find that window. Is there any way around this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|