Set Windows Form on Top of Every application using C#

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2007
Posts: 5
Reputation: chiragwebmyne is an unknown quantity at this point 
Solved Threads: 0
chiragwebmyne chiragwebmyne is offline Offline
Newbie Poster

Set Windows Form on Top of Every application using C#

 
0
  #1
Jul 14th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 89
Reputation: camilojvarona is an unknown quantity at this point 
Solved Threads: 10
camilojvarona camilojvarona is offline Offline
Junior Poster in Training

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

 
0
  #2
Jul 14th, 2008
Hi,

try this

this.TopMost = true;
Hope this help.
Camilo
Last edited by camilojvarona; Jul 14th, 2008 at 11:33 am.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 5
Reputation: chiragwebmyne is an unknown quantity at this point 
Solved Threads: 0
chiragwebmyne chiragwebmyne is offline Offline
Newbie Poster

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

 
0
  #3
Jul 15th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC