alfardan
asked on
Hide default form buttons and start from system tray
Hi
I want my windows form to hide the Close and Maximize buttons, and for this form to be called from the system tray and when clicking on its Minimize button then to take it back to the system tray
How do I do so?
I want my windows form to hide the Close and Maximize buttons, and for this form to be called from the system tray and when clicking on its Minimize button then to take it back to the system tray
How do I do so?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Also, I don't want to disable the max button only, I want to set its visibility to false
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>> Where is this CreateParams property?
You need to paste this code into your form1.designer.vb
You need to paste this code into your form1.designer.vb
hide close button:-
http://blogs.msdn.com/b/atosah/archive/2007/05/18/disable-close-x-button-in-winforms-using-c.aspx
hide maximize button:-
http://dotnetdud.blogspot.in/2009/01/how-to-disable-maximize-button-on.html
minimize to system tray:-
http://jameskovacs.com/2006/01/11/how-to-minimize-to-the-system-tray/
http://colinramsay.co.uk/diary/2006/05/19/winforms-minimize-to-system-tray/
http://blogs.msdn.com/b/atosah/archive/2007/05/18/disable-close-x-button-in-winforms-using-c.aspx
hide maximize button:-
http://dotnetdud.blogspot.in/2009/01/how-to-disable-maximize-button-on.html
minimize to system tray:-
http://jameskovacs.com/2006/01/11/how-to-minimize-to-the-system-tray/
http://colinramsay.co.uk/diary/2006/05/19/winforms-minimize-to-system-tray/
ASKER
I'm using VS 2010