If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Switching between windows...

Hello,

When using my program you can open up a new window that overlays over the main window (which is called Form1). When clicking the button to open the new window the code looks like this (Form1.Enabled = False) so the main window is disabled until closing off that overlay window. However when you have the overlay window open and then switch to another window or program then switch back to my program it shows the main window instead of the overlay window which the main window is disabled meaning it's locked up. My question is how do I get that the overlay window popup in front of the main window after switching to something else and then clicking on the program in the taskbar.