nzschooltech
2010-07-12T04:03:11Z
Hi, I have th option to prompt when closing if a connection is open option ticked.

This is OK if I want to stop accidentally closing RD Tabs, but if I want to save time by shutting down windows instead of closing everthing, RD Tabs should be able to distinguish between "Close window" and "Shutdown system".

This is pretty easy to do at a programmer level because Windows sends out a different message to the applications when it wants to shut down the system, compare with the message it sends when a user just wants to close a single application themselves.
Timothy
  • Timothy
  • 100% (Exalted)
  • Flock Leader
2010-07-12T11:41:23Z
Currently I'm handling the form's "Closing" event. What do I handle for shutdown to make this change? Remember this is .Net and not native code.
full film