Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sorry may be this is kind of a weird question.The thing I want to do is to clone the current active window and hide the real one and then perform specific tasks if any object of that cloned window is accessed and after that show the real window.

How to achieve this ?
Updated 20-Aug-14 20:32pm
Karthik Harve 21-Aug-14 2:47am    
Why you need open a duplicate window and close this and reopen again ? what are you trying to do ?
keyur chauhan 21-Aug-14 2:55am    
i want to protect a specific directory by asking for a password when the request to open that directory is submitted
Karthik Harve 21-Aug-14 2:59am    
Opening of new dialog popup window for asking password will not serve the purpose ? once password has entered just close the popup window and call specific function in parent window in order to continue the operation.
Sharmanuj 21-Aug-14 3:04am    
What is your basic requirement to achieve by making clone windows?
Sergey Alexandrovich Kryukov 21-Aug-14 3:07am    
What does it mean, "WindowsApplication"? WPF, Forms, something else?

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