469,917 Members | 1,492 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Main form not getting in focus and taskbar

Hi,

I am having this problem with my application that it is not getting
itself in taskbar by itself.. i m working on this application for 5
months, don't know what happened at what time that its not getting in
focus. If during startup i bring other applications(like internet
browser, explorer or Ms-Word) to the focus, my application just starts
up and rests in the background without even showing in the takbar.

I have even tried following methods at the starting point of my main
form.. but to no avail :(

this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScree n;
this.TopLevel=true;
this.SetTopLevel(true);
this.Focus();
this.BringToFront();

I have verified my form's properties with main form's property of other
project which is behaving normal (that it is appearing in the taskbar
whatever applicaiont is my current focus)

Any guidance is highly appreciated,
thanks in advance.

Asher

Mar 13 '06 #1
2 1947
Anyone Please?

Mar 13 '06 #2
Anyone Please?

Mar 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Shayne H | last post: by
17 posts views Thread by Neil Ginsberg | last post: by
1 post views Thread by Tony | last post: by
1 post views Thread by FMorales | last post: by
1 post views Thread by Franz Gsell | last post: by
4 posts views Thread by Mike | last post: by
1 post views Thread by TyBreaker | last post: by
1 post views Thread by Waqarahmed | 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.