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?
Re: how to communicate between windows? [message #29618 is a reply to message #29617] Thu, 04 November 2010 10:27 Go to previous messageGo to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
It looks like the thing I wanted. This callback will be executed in class b's thread/execution, right?
my code generates error LNK2019: unresolved external symbol "public: void __thiscall B::set(enum B::tp)"
class B: public TopWindow {
public:
  enum tp
  {
    TPA,
    TPB
  };
  void set(enum tp);
  ...
}
class A: public TopWindow {
...
private:
  B *b;
  void Button_A()
  {
	b->PostCallback(callback1(b, &B::set, B::TPA));
  }
...
}

[Updated on: Thu, 04 November 2010 10:37]

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 May 17 01:06:29 CEST 2024

Total time taken to generate the page: 0.02295 seconds