[RESOLVED] How Do I Keep A Form At The Front Until The User Clicks An Option?
I'm making a custom message box (it has a few extra things you can't do with a normal one) and I need to keep it at the front until the user chooses Cancel or OK, how?
Re: How Do I Keep A Form At The Front Until The User Clicks An Option?
When you say "keep it at the front", do you mean only within your application (like a normal message box) or system wide (like the secure desktop in Vista)?
If you mean just within your application then you call the pop-up via the ShowDialog method rather than the Show method.
If you mean system wide... well, I believe that'll require some Win32 API usage but I don't think it's a good idea from a usability standpoint.
Re: How Do I Keep A Form At The Front Until The User Clicks An Option?
Thanks kasracer! :D That's exactly what I needed, thank you very much!
I didn't mean system-wide because that is quite a bad idea lol.
Re: [RESOLVED] How Do I Keep A Form At The Front Until The User Clicks An Option?
Ok good. You had me worried for a second :)