Ok I know I can use form1.setfocus to put form1 on top of form2 (or whatever else is a form in my program). But it fails to work if there's something else on the screen (such as calc.exe or notepad.exe). That is to say, if something that is NOT part of my program ends up in front of my form, the setfocus method doesn't work. How do I send a form from my program to the top of ALL forms on the screen (regardless of what program the other forms are part of)?
↧