Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can a Windows application employ multiple processes?

I'm thinking of Chrome & IE8 as examples of applications which have multiple processes each associated with separate windows (and other things too). How does this work? Specifically focusing on the GUI side - one question I have is does Windows treat a HWND as belonging to a process or can one process arbitrarily interact with any HWND?

like image 524
Mr. Boy Avatar asked Dec 08 '25 15:12

Mr. Boy


1 Answers

How does this work? Specifically focusing on the GUI side - one question I have is does Windows treat a HWND as belonging to a process or can one process arbitrarily interact with any HWND?

Each HWND can be arbitrarily interacted with, mostly. For example, this post shows how to embed notepad into a Windows Forms panel.

That being said, it often causes programs to not function correctly, unless they are designed with this in mind.

like image 151
Reed Copsey Avatar answered Dec 12 '25 02:12

Reed Copsey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!