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  |
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 .
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
|
|
|
Goto Forum:
Current Time: Sun Aug 24 07:11:38 CEST 2025
Total time taken to generate the page: 0.06331 seconds
|