By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,709 Members | 2,157 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,709 IT Pros & Developers. It's quick & easy.

Main form not getting in focus and taskbar

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
Anyone Please?

Mar 13 '06 #2

P: n/a
Anyone Please?

Mar 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.