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 » how to communicate between windows?
icon1.gif  how to communicate between windows? [message #29591] Tue, 02 November 2010 10:18 Go to previous message
bonami is currently offline  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

 
Read Message icon1.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Crash on ToolTip painting
Next Topic: TrayIcon Tool tips text lenght limited
Goto Forum:
  


Current Time: Fri Nov 01 01:05:29 CET 2024

Total time taken to generate the page: 0.02353 seconds