I'm building a form inside a DLL and would like to embed that form inside the host application. Surely I can't simply pass the Parent control into the DLL. But I have to give this DLL form a Parent from the EXE form (inside a TPanel
).
How can I make this form inside the DLL embedded inside its host application, aligned as Client within a panel?
What I'm building is a setup module which consists of a tree view on the left half of the form, and an empty placeholder panel on the right, like a snap-in console. Each possible module is represented by a DLL, one corresponding with each node on the tree view.
EDIT
One important thing I didn't mention before, the reason I'm implementing DLL's is because each setup module might be developed in a different language. Most will be Delphi, But the software package which this is based around consists of different applications built in some other languages than Delphi (such as C#). Those developers will design their own setup modules to be integrated.