|
-
February 11th, 2010, 09:46 PM
#1
Minimize form to system tray
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?
-
February 12th, 2010, 01:09 AM
#2
Re: Minimize form to system tray
Two seperate questions. Each belonging in its own thread.
For your first question, use the NotifyIcon :
http://www.google.co.uk/search?hl=en...meta=&aq=f&oq=
-
February 14th, 2010, 11:28 PM
#3
Re: Minimize form to system tray
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...
Last edited by rliq; February 14th, 2010 at 11:30 PM.
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|