Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Forms in DLL file

Status
Not open for further replies.

Nordlund

Programmer
Jul 17, 2001
458
SE
Hi there.

If I have an application, FormStyle = fsMDIForm, is it possible to call a Childform from another .dll file.

The childform should be opened like it was an ordinary MDI childform, compiled within the mainform....


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is always another way to solve it, but I prefer my way.
 
This is indeed possible. I dont have the time available to replicate the code (in fatc I dont have the code on my current work machine) but if you take a look here :-


and download the mdidll.zip file, it contains an example of how to do this.

[blue]Well ain't this place a geographical oddity. Two weeks from everywhere![/blue]
 
Hi Eric...
That's weird, but if it works, i truly jump of joy... :)
I will look into that right away...

Check out this page:

I quote:
About.com said:
MDI child in a DLL? No way!
As you might guess from the title, there is NO way to place an MDI child form into a DLL and call it from some MDI type application.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is always another way to solve it, but I prefer my way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top