PDA

View Full Version : [vb.net] Window Focus Help



Templarian
February 4th, 2007, 01:58 AM
Okay the below image describes my problem, its not a big thing its just when I hit new i sometimes hit it twice and it then main form goes over new form, you will get it when you see the image below.
http://www.kirupa.templarian.com/windowfocus.png

-Thanks. Its probably something easy. I just don't want to hide or disable the main form.

Templarian
February 4th, 2007, 09:52 PM
ba ba bum bump... hmm...

kirupa
February 6th, 2007, 04:21 PM
I don't think I fully understand your question. Is your problem that your background window accidentally covers up your dialog window when you select anything behind the dialog window accidentally?

Templarian
February 7th, 2007, 12:50 AM
How do i make Windows think its a dialog-window (the "Create New File") and make it act like one. Currently its just another form.

Like can i define it as a dialog so it acts like a msgbox or open or save screen and wont let me click on the other form(s)?

btw... still waiting till MS sends me a sees and disist... hehehe.. will change the UI later.

Templarian
February 23rd, 2007, 09:07 PM
BTW... not to bump this or anything... but more so to make myself feel like an idiot and to leave the answer for others. I actually figured it out shortly after posting last time but its,

showDialog(). instead of show. :)