U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Ctrl::Quit() and system shutdown
Re: Ctrl::Quit() and system shutdown [message #35566 is a reply to message #35565] Wed, 29 February 2012 17:11 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 227
Registered: June 2011
Experienced Member
The code I posted is just another example, slightly modified:

http://www.ultimatepp.org/reference$TrayIcon$en-us.html

Maybe the difference is that only TopWindow-derived controls can receive WM_QUERYENDSESSION and TrayIcon cannot?

I cannot call TopWindow::Close because TrayIcon is not TopWindow-derived, and I cannot make it TopWindow-derived using multiple inheritance either.

[Updated on: Wed, 29 February 2012 17:13]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: EditDouble background color
Next Topic: Using TheIDE/U++ and Visual Studio 2008/2010 IDE as a team in a project
Goto Forum:
  


Current Time: Mon Sep 28 00:43:59 GMT+2 2026

Total time taken to generate the page: 0.90810 seconds