Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 221
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: Wed May 15 11:07:48 CEST 2024

Total time taken to generate the page: 0.03500 seconds