943,892 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 17520
  • C# RSS
Jul 14th, 2008
0

Set Windows Form on Top of Every application using C#

Expand Post »
Dear Friend,

I have one Window From it will open on clicking on ToolStrip button, UserControl1.cs contain ToolStrip (ToolStrip used as IE ToolBar).
Form contain One TextBox and One close Button, I need to open a Form on every new IE window open and keep that Form on IE Only and countinous Focus set in Textbox only.

currently Form is open on IE, but on opening of other application or other IE tab it hide behind, so not shown to user.

Plz. give ur suggestion for the same.

Thanks
Chirag
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
chiragwebmyne is offline Offline
5 posts
since Nov 2007
Jul 14th, 2008
0

Re: Set Windows Form on Top of Every application using C#

Hi,

try this

this.TopMost = true;
Hope this help.
Camilo
Last edited by camilojvarona; Jul 14th, 2008 at 11:33 am.
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
camilojvarona is offline Offline
89 posts
since Jul 2008
Jul 15th, 2008
0

Re: Set Windows Form on Top of Every application using C#

Dear Camilo

Thanks for Reply ti's work for me here.
Bbut My situation is that i have to open this form for every IE or every IE tabs and the contorl must be top on for opend IE. not for other IE.

Thanks
Chirag
Reputation Points: 10
Solved Threads: 0
Newbie Poster
chiragwebmyne is offline Offline
5 posts
since Nov 2007
Dec 19th, 2010
0
Re: Set Windows Form on Top of Every application using C#
keep your opened forms in a collection ...whenever you open a new form...set topmost=false for every other form in collection
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rameez420 is offline Offline
1 posts
since Dec 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Grid seach algorithm
Next Thread in C# Forum Timeline: system requirement





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC