Home » U++ Library support » TopWindow&PopUp, TrayIcon » how to communicate between windows?
how to communicate between windows? [message #29591] |
Tue, 02 November 2010 10:18 |
|
bonami
Messages: 186 Registered: June 2007 Location: Beijing
|
Experienced Member |
|
|
I have two classes inherited from TopWindow.
class 1 need to tell class 2 to go back or forward in processing.
they OpenMain() then I use Ctrl::EventLoop().
Solution 1,
class 1 envoke a member of class 2. class 2 needs a private lock. I would rather not use this solution.
Solution 2,
From MS' view, class 1 can SendMessage() or send an event to class 2. How to achieve this in U++? How to change class 2 (TopWindow)'s processing?
Thank you.
[Updated on: Tue, 02 November 2010 10:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Nov 01 01:05:29 CET 2024
Total time taken to generate the page: 0.02353 seconds
|