469,902 Members | 1,815 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

Form Focus Problem


i m having a problem getting the focus on the form, i m starting two
form one after another, here is the sequence. first is splash second is
dialog taking values

Start new thread and start splash in it with Application.Run() or

After some work i closed it with splash.close

starts second form with application.run() or form.showdialog

second form is not selected when launched, if i set topmost it is above
all but values cannot be entered. when i close splash focus goes to any
other window below it, like VS or windows explorer.

Thanks in advance.

Mar 22 '06 #1
2 2010
Please post your code sample

Mar 22 '06 #2
it is bit long so i will send some part, i m starting splash in
constructor of form1. i hope this description clearly shows my problem.

Form1 frm= new Form1();



public Form1()
splash = new frmSplashScreen();
//set splash screen properties
Thread splashThread = new Thread(new ThreadStart(startSplash));

//change splash according to this changes in this thread

//after some time



Mar 22 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by greg.scharlemann | last post: by
17 posts views Thread by Neil Ginsberg | last post: by
6 posts views Thread by Ekim | last post: by
7 posts views Thread by Pygmalion | last post: by
6 posts views Thread by =?Utf-8?B?U2NvdHQgTGFt?= | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.