Click here to Skip to main content
16,013,642 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web Image in Windows App. Pin
Nick Seng24-May-04 5:27
Nick Seng24-May-04 5:27 
GeneralRe: Web Image in Windows App. Pin
Heath Stewart24-May-04 5:28
protectorHeath Stewart24-May-04 5:28 
Generalsetup by InstallShield Pin
quocbao23-May-04 16:52
quocbao23-May-04 16:52 
GeneralRe: setup by InstallShield Pin
Heath Stewart24-May-04 3:57
protectorHeath Stewart24-May-04 3:57 
GeneralComputer Shutdown problem Pin
BigBlob20223-May-04 16:25
BigBlob20223-May-04 16:25 
GeneralRe: Computer Shutdown problem Pin
sreejith ss nair23-May-04 18:20
sreejith ss nair23-May-04 18:20 
GeneralRe: Computer Shutdown problem Pin
Heath Stewart24-May-04 3:48
protectorHeath Stewart24-May-04 3:48 
GeneralRe: Computer Shutdown problem Pin
Dave Kreskowiak24-May-04 3:54
mveDave Kreskowiak24-May-04 3:54 
In the event that your using to capture the Close button, I assuming it's OnClosing, you could check to see what the current state of your app is. If it is already minimized, then you can set the e.Cancel=False and let your app quit. Then the problem becomes how do you handle the situation where your form is in an un-minimized state.

You might want to look into handling the Application.Exit event to see when that fires. You OnClosing event might be able to be used for minimizing and the Application.Exit event might be able to be used for an actual Exit and set a flag that OnCloing uses to know that an actual application shutdown is happening and not minimize and cancel it.


RageInTheMachine9532
"...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Computer Shutdown problem Pin
Heath Stewart24-May-04 3:56
protectorHeath Stewart24-May-04 3:56 
GeneralStill.. problem with a checked list box Pin
M3L23-May-04 15:20
M3L23-May-04 15:20 
GeneralRe: Still.. problem with a checked list box Pin
Heath Stewart24-May-04 3:39
protectorHeath Stewart24-May-04 3:39 
GeneralRe: Still.. problem with a checked list box Pin
M3L26-May-04 15:29
M3L26-May-04 15:29 
GeneralIs Windows server needed Pin
vjeko23-May-04 11:38
vjeko23-May-04 11:38 
GeneralRe: Is Windows server needed Pin
Colin Angus Mackay23-May-04 12:30
Colin Angus Mackay23-May-04 12:30 
GeneralRe: Is Windows server needed Pin
Vince Pacella23-May-04 12:52
sussVince Pacella23-May-04 12:52 
GeneralRe: Is Windows server needed Pin
Colin Angus Mackay23-May-04 13:03
Colin Angus Mackay23-May-04 13:03 
GeneralRe: Is Windows server needed Pin
Vince Pacella23-May-04 13:08
sussVince Pacella23-May-04 13:08 
GeneralRe: Is Windows server needed Pin
Colin Angus Mackay23-May-04 13:11
Colin Angus Mackay23-May-04 13:11 
GeneralRe: Is Windows server needed Pin
Vince Pacella23-May-04 13:13
sussVince Pacella23-May-04 13:13 
GeneralRe: Is Windows server needed Pin
Daniel Turini23-May-04 23:13
Daniel Turini23-May-04 23:13 
GeneralRe: Is Windows server needed Pin
Heath Stewart24-May-04 3:35
protectorHeath Stewart24-May-04 3:35 
GeneralRe: Is Windows server needed Pin
Dave Kreskowiak23-May-04 16:30
mveDave Kreskowiak23-May-04 16:30 
GeneralRe: Is Windows server needed Pin
vjeko24-May-04 6:15
vjeko24-May-04 6:15 
GeneralRe: Is Windows server needed Pin
Serge Lobko-Lobanovsky26-May-04 3:52
Serge Lobko-Lobanovsky26-May-04 3:52 
GeneralAlpha & Imagelists Pin
BaShOr23-May-04 0:31
BaShOr23-May-04 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.