Wrox Programmer Forums
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 29th, 2004, 10:39 AM
Authorized User
 
Join Date: Jan 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Default Changing minimize button

Is it possible to change what happens when the minimize button is pressed? I want to change it so that instead of minimizing it hides the form and creates a taskbar icon.
 
Old July 29th, 2004, 10:44 AM
Authorized User
 
Join Date: Jan 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry, made a mistake. Meant system tray not taskbar.
 
Old July 29th, 2004, 10:45 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

There is a MinimumSizeChanged event that you may be able to make use of...

Brian
 
Old July 29th, 2004, 10:52 AM
Authorized User
 
Join Date: Jun 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

you could add a notify componenet which does just that, when the minimise button is clicked your code checks the winodw state and places an icon in the tray



Duncan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the image button on PostBack Aker C# 6 May 19th, 2008 11:20 AM
Dynamic changing value of a gridview button text elwappo ASP.NET 2.0 Professional 6 January 7th, 2008 07:39 AM
How to Minimize use of javascript sharmamilan Javascript 1 June 8th, 2005 10:58 AM
Minimize the window qazi_nomi Javascript How-To 3 September 10th, 2004 10:04 AM
Minimize and Maximize bmains VB.NET 7 July 26th, 2004 07:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.