SetParent() on a VB6 application from a C# app
Posted
by JD
on Stack Overflow
See other posts from Stack Overflow
or by JD
Published on 2010-03-17T04:35:45Z
Indexed on
2010/03/17
4:41 UTC
Read the original article
Hit count: 251
Aloha all!
I am trying to use the win32 API to set the parent of an application to a panel in my C# application.
I can get most applications to work... However I have one application which was written in VB6 which I am having problems with...
When I inspect it using spy++ the application loads in 2 main forms 'ThunderRT6Main' and 'ThunderRT6MDIForm' both with the same title.
I have found the handle of both of these and tried to call SetParent on them both but the window does nothing and does not move anywhere...
Is there something funky I need to do when invoking SetParent() on a VB6 app?
© Stack Overflow or respective owner