Windows Form Application - Always on Top and other stuff

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
 
J

Jeffrey Tan[MSFT]

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.
 
E

eXtreme

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?
 
J

Jeffrey Tan[MSFT]

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.
 
J

Jeffrey Tan[MSFT]

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.
 
E

eXtreme

Problem solved... thank you very much. Since I only wanted one line I ended
up having to trap the enter key.
 
J

Jeffrey Tan[MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top