Click here to Skip to main content
15,898,679 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to retain child window coordinates if user drags the window to some location and closes it, so that on relaunch it should open in the previous coordinates.

But for the first time launch it should open up in the center of parent window.

Can I make child window to hide instead of closing so that it will open up in the same location on relaunch
Posted

1 solution

 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 17-Aug-15 23:36pm    
Trivial, but answers the question, a 5.
—SA
[no name] 19-Aug-15 1:49am    
Thanks SA.

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