This is a windows application, written in C#.NET 2005, which need to set/set the z-order of its forms, to make them be above a given window (which will be identified according to its handle). Let me give you an example to clarify my requirements: Assuming that I have a Word window open, and I can get its handle. What I need is an application (very simple form, with textbox and a button), that I'll insert the Word window's handle to it, and when I click on the button, 2 more forms will be opened (lets call them form1 and form2), and they will be ALWAYS above the Word window (except when it is minimized). Now if I open another window (lets say notepad), it will be ABOVE the Word & form1, form2 windows, but if I activate the Word document, form1 and form2 windows will AUTOMATICALLY will be above it. I'll be happy to answer on any question.
## Deliverables
The application must exceed the following: 1) Main form will include a text box for entering window's handle as int, and a button ("Open") for opening the 2 additional forms 2) Upon clicking on the "Open" button, the application will check if there is a window with this handle, and if so get its z-order 3) The application will then open the 2 forms, setting their z-order in a way that they will be above the window (with the given handle). NO USING TopMost, AND/OR BringToFront. 4) The z-order need to be preserved while activating the window (e.g. while working on the Word document, which the user entered it's handle as input, the 2 forms need to be above it, and when opening another window - they need to be below the new one). 5) All code need to be FULLY DOCUMENTED!!
## Platform
The application need to run on Windows XP, Windows 2003 and Windows Vista