Right now I have a normal window with a bunch of controls.
When the user hits a certain button I want to dim the entire window and then display a popup on top of it. Not a true dialog box, just something that is inside the window.
So this is my theory...
- Every control is on layer 0.
- There is a rectangle the same size as the form in layer 1. This has 50% transparency.
- My popup is loaded into layer 2.
- Clicking anywhere on the rectangle will do the same thing as pressing close on the pop-up.
Is this possible?