[Message Deleted]
-
[Message Deleted]
-
[Message Deleted]
What exactly are you trying to do?
- S 50 cups of coffee and you know it's on!
-
[Message Deleted]
Thanhnamdo wrote
accept this value from an other Dialog of an other class
If you want to pass value from one dialog to another you can access the parent dialog's variables by CMain* pMain=(CMain*)GetParent(); Then use this pointer to call member functions / change or alter variables of the first (parent) dialog. Another way is to pass a pointer from one class to another. Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
[Message Deleted]
Whats application type if you have two dialog you can use CMain m_Main=(CMain*)GetParent();and in another application you can use m_Main->(your variable)or(your function)and include header from Main class in another class
_**
**_
whitesky
-
Whats application type if you have two dialog you can use CMain m_Main=(CMain*)GetParent();and in another application you can use m_Main->(your variable)or(your function)and include header from Main class in another class
_**
**_
whitesky
Thank you everybody .I understanded and I'm trying to do it.
-
Whats application type if you have two dialog you can use CMain m_Main=(CMain*)GetParent();and in another application you can use m_Main->(your variable)or(your function)and include header from Main class in another class
_**
**_
whitesky
WhiteSky wrote
CMain m_Main=(CMain*)GetParent();
A missing * Should be CMain* m_Main=(CMain*)GetParent();
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
WhiteSky wrote
CMain m_Main=(CMain*)GetParent();
A missing * Should be CMain* m_Main=(CMain*)GetParent();
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
yeah:)
_**
**_
whitesky