Click to See Complete Forum and Search --> : Minimize form to system tray


thisismyusername2010
February 11th, 2010, 08:46 PM
How would I make a form minimize to system tray, then be able to double click the icon to reopen the form, when the normal minimize button on the form is pressed?
Also, is it possible to take the scrollbars off of a webbrowser if you don't want/need them there?

HanneSThEGreaT
February 12th, 2010, 12:09 AM
Two seperate questions. Each belonging in its own thread.

For your first question, use the NotifyIcon :

http://www.google.co.uk/search?hl=en&q=notifyicon+c%23&meta=&aq=f&oq=

rliq
February 14th, 2010, 10:28 PM
If you are talking about the WebBrowser Control, there is a property ScrollBarsEnabled which can be set to 'false'.

Also, from memory I think I did this once... If you are only using the WebBrowser control to display HTML and do not want the User to interact with it, I 'think' you can put an 'almost transparent' Panel over the top of it and capture the Panel_Mouse(...) messages.

Just tried that but it did not work, but I'm sure I did something like that way back...