Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Set Parent for 3rd party application.

$
0
0

Hello,

I have a requirement where 3rd party CAD application should get docked inside my win form application.

For this I am using SetParent() and SetWindowPos() methods from user32.dll using p/invoke.

All arguments are passed correctly and method status is also true after execution , but CAD application window still remains outside winform. I tried same code for other sample software's where it worked well.

What might be wrong with CAD application due to which it cannot be docked inside winform?

Thanks


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>