Windows Form Application - Always on Top and other stuff

  • Thread starter Thread starter eXtreme
  • Start date Start date
E

eXtreme

Does anyone know how to make a Windows Form based application be optionally
always on top?

Also, I need to remove everything except a single text box which I want to
make available from any application by poping it on top via a hotkey.

Alternatively I would like to make the Windows Form app (whith only the
textbox and a bare window frame) available on the right hand side of the
screen if the mouse hovers over a very thin window handle that will stay
exposed.

Any pointers on these topics would be very helpful.

Thanks,
eXtreme
 
Hi eXtreme,

Thanks for your post.

In Winform .Net, every Form class has a TopMost property, which forces this
form to be topmost state. Does this meet your request? Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
This helps a lot. Thank you.

Do you know how I would create an application that displays only a text box
with no formal Window around it?
 
Hi eXtreme,

Thanks for your feedback.

I think you may first set TextBox to multiline, then set TextBox.Dock
property as Dock.Fill. At last, we can set the container form's
FormBorderStyle property to None. With this, I think you should get the
effect you want. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi eXtreme,

Does my reply make sense to you? Is your problem resolved? Please feel free
tell me, thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Problem solved... thank you very much. Since I only wanted one line I ended
up having to trap the enter key.
 
Hi eXtreme,

I am glad your problem is resolved. If you need further help, please feel
free to post. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top