About System Menu == Plz Help Urgent
-
I developed one application which adds the icon to System tray. When I press Start (in menu) it will start. But in our application ,.-> When I press 'X' in the dialog I don't want to terminate the application . When I press Shutdown (which is a menu item when I press on right click on icon )It has to shutdown. Plz How to handle code in OnSysCommand ., When I press 'X' in dialog.(Application Should not be terminate.Let it be there itself in the system tray ) Praveen Chowdam Kumar
-
I developed one application which adds the icon to System tray. When I press Start (in menu) it will start. But in our application ,.-> When I press 'X' in the dialog I don't want to terminate the application . When I press Shutdown (which is a menu item when I press on right click on icon )It has to shutdown. Plz How to handle code in OnSysCommand ., When I press 'X' in dialog.(Application Should not be terminate.Let it be there itself in the system tray ) Praveen Chowdam Kumar
-
I developed one application which adds the icon to System tray. When I press Start (in menu) it will start. But in our application ,.-> When I press 'X' in the dialog I don't want to terminate the application . When I press Shutdown (which is a menu item when I press on right click on icon )It has to shutdown. Plz How to handle code in OnSysCommand ., When I press 'X' in dialog.(Application Should not be terminate.Let it be there itself in the system tray ) Praveen Chowdam Kumar
parims wrote: Plz How to handle code in OnSysCommand ., When I press 'X' in dialog.(Application Should not be terminate.Let it be there itself in the system tray ) You have one more option :- [How to remove close button from window?](http:// http://www.codeproject.com/useritems/cppfaq25apr8jun.asp#q501)[[^](http:// http://www.codeproject.com/useritems/cppfaq25apr8jun.asp#q501)]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV