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 » U++ Library support » TopWindow&PopUp, TrayIcon » [Solved] How to merge two EventLoops together
Re: How to merge two EventLoops together [message #5615 is a reply to message #5613] Thu, 05 October 2006 22:48 Go to previous message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Things are getting much much more complicated than I expected.

Because the window holding the "trayicon" is not created by TopWindow, I must find a way to register it so that it could be included in Ctrl::GetTopWindows().

But how?

My EventProc never knows the very existence of my trayicon because it is not created by TopWindow. I don't want to implement another version of Open() because most of the functions and variables within Ctrl are created as "private" instead of "protected".


Also, it seems to me that there is no such thing similar to GtkContainer in U++.



luzr wrote on Fri, 06 October 2006 04:41

EventProc is more "implementation" thing, you should not override it directly unless you are doing some very platform specific thing (which OTOH you seem to do Smile.

Simply overriding it should be enough. But do not forget to call Ctrl::EventProc for messages you do not handle...


[Updated on: Thu, 05 October 2006 22:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fix for TopMost on Win32 to allow it to be changed at any time.
Next Topic: Object Hierarchy
Goto Forum:
  


Current Time: Sun Aug 24 07:11:38 CEST 2025

Total time taken to generate the page: 0.06331 seconds