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 |
|
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
|
|
|
Goto Forum:
Current Time: Fri May 17 01:06:29 CEST 2024
Total time taken to generate the page: 0.02295 seconds
|