Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody,

I want to Duplicate or Clone , Form Window From Other Windows Application
and I need to do via Windows API or WIN32
I don't know how to do this Please Help.

Thank You So Much.
Posted
Comments
Fred Flams 28-Feb-13 4:50am    
Hello, could you ellaborate a bit further your need ?
Is it 1) You want to show a duplicate of a currently running Windows application form
or 2) You want to show a form that looks exactly like the form from another Windows application (a form that someone has seen and want to have in their application as an example) ?

Example:

Main Application{
form1{
some control
}
form2{
some control
}
}


My Application{
MyFunction{
//this is example because I don't know
IntPrt form2 = Coppy(form2);
ShowWindow(form2,1);
}
}

Total of show window = 3 form1 form2 and my application form 2

Hope you understand me
Thank you
 
Share this answer
 
Comments
Fred Flams 28-Feb-13 5:59am    
Okay, I understand your requirements better, you actually want to display a copy from an existing application already running on the machine... I believe that could be done with a lot of sweat and code and actually I don't really see what it will be good for....
Thank you so much,
because I has a application has MDI parent and I'm try set Dock out via Window API function SetParent(); it is Work
but can't do anything in form and second way I'm try Set Parent to form in Main Application and Dock out to Desktop
This is Work and can do anything but can do 1 form this problem I'm find something to improve .
Thank again for talking.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900