Click here to Skip to main content
15,884,177 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: please tell me what is the breakpoint how we can use this in our progarm [modified] Pin
Sarath C5-Jul-06 21:06
Sarath C5-Jul-06 21:06 
GeneralRe: please tell me what is the breakpoint how we can use this in our progarm Pin
vasusree5-Jul-06 21:16
vasusree5-Jul-06 21:16 
QuestionAccessing control from another dialog.. Pin
sach!!5-Jul-06 19:51
sach!!5-Jul-06 19:51 
AnswerRe: Accessing control from another dialog.. Pin
_AnsHUMAN_ 5-Jul-06 20:07
_AnsHUMAN_ 5-Jul-06 20:07 
GeneralRe: Accessing control from another dialog.. Pin
Uday Janaswamy5-Jul-06 20:19
Uday Janaswamy5-Jul-06 20:19 
GeneralRe: Accessing control from another dialog.. Pin
_AnsHUMAN_ 5-Jul-06 20:34
_AnsHUMAN_ 5-Jul-06 20:34 
GeneralRe: Accessing control from another dialog.. Pin
Uday Janaswamy5-Jul-06 20:38
Uday Janaswamy5-Jul-06 20:38 
GeneralRe: Accessing control from another dialog.. Pin
_AnsHUMAN_ 5-Jul-06 20:47
_AnsHUMAN_ 5-Jul-06 20:47 
And more methods.
Use //// This is the second one
CMain *pParent=(CMain*)GetParent();

///////This is the third one
Create a pointer of the first dialog in the second dialog and do this
CFirst *pFirstInSecond

CSecond *second=new CSecond();
second->pFirstInSecond=this;
second->DoModal();

Now you can access the variables of the first dialog in the second dialog.

And if you want a method or two more you can mail me

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_
GeneralRe: Accessing control from another dialog.. Pin
_AnsHUMAN_ 5-Jul-06 20:53
_AnsHUMAN_ 5-Jul-06 20:53 
GeneralRe: Accessing control from another dialog.. Pin
Rajesh R Subramanian5-Jul-06 20:37
professionalRajesh R Subramanian5-Jul-06 20:37 
GeneralRe: Accessing control from another dialog.. Pin
Uday Janaswamy5-Jul-06 20:41
Uday Janaswamy5-Jul-06 20:41 
GeneralRe: Accessing control from another dialog.. Pin
sach!!5-Jul-06 20:50
sach!!5-Jul-06 20:50 
GeneralRe: Accessing control from another dialog.. [modified] Pin
_AnsHUMAN_ 5-Jul-06 20:55
_AnsHUMAN_ 5-Jul-06 20:55 
GeneralRe: Accessing control from another dialog.. Pin
Uday Janaswamy5-Jul-06 20:54
Uday Janaswamy5-Jul-06 20:54 
GeneralRe: Accessing control from another dialog.. Pin
_AnsHUMAN_ 5-Jul-06 20:59
_AnsHUMAN_ 5-Jul-06 20:59 
QuestionC++ class hierarchy [modified] Pin
Nirmal Khatri5-Jul-06 19:25
Nirmal Khatri5-Jul-06 19:25 
AnswerRe: C++ class hierarchy Pin
_AnsHUMAN_ 5-Jul-06 19:32
_AnsHUMAN_ 5-Jul-06 19:32 
AnswerRe: C++ class hierarchy Pin
toxcct5-Jul-06 21:39
toxcct5-Jul-06 21:39 
QuestionSpin control Pin
Member 30398435-Jul-06 18:47
Member 30398435-Jul-06 18:47 
AnswerRe: Spin control Pin
Ram Murali5-Jul-06 19:21
Ram Murali5-Jul-06 19:21 
GeneralRe: Spin control Pin
Member 30398435-Jul-06 20:39
Member 30398435-Jul-06 20:39 
AnswerRe: Spin control Pin
Nishad S6-Jul-06 0:17
Nishad S6-Jul-06 0:17 
Questionproblem in receiving correct packet [modified] Pin
thathvamsi5-Jul-06 18:44
thathvamsi5-Jul-06 18:44 
QuestionCommunication from Dialog to CFormView Pin
Uday Janaswamy5-Jul-06 18:26
Uday Janaswamy5-Jul-06 18:26 
QuestionRe: Communication from Dialog to CFormView Pin
Hamid_RT5-Jul-06 19:31
Hamid_RT5-Jul-06 19:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.