Re: Get object from one CDialog to another
- From: "Nishant Sivakumar" <nish@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 1 Nov 2005 17:03:04 -0500
You could have Campaign* members in both your dialog classes and do
something like this :-
dlg1.DoModal();
dlg2.m_pCampaign = dlg1.m_pCampaign;
dlg2.DoModal();
--
Regards,
Nish [VC++ MVP]
"Si" <si@xxxxxxxxxxx> wrote in message
news:JkR9f.25724$6i4.7472@xxxxxxxxxxxxxxxxxxxxxxx
>I have a dialog MFC application, and I have it so that another modal dialog
>opens before the main dialog. The first dialog is for logging into a
>"Campaign". As soon as the first dialog closes the main one opens.
>
> How do I get a Campaign object from the first modal dialog into the second
> (main dialog)?
>
.
- Follow-Ups:
- References:
- Prev by Date: Re: Fire event once per second
- Next by Date: Re: Store object in combo?
- Previous by thread: Get object from one CDialog to another
- Next by thread: Re: Get object from one CDialog to another
- Index(es):
Relevant Pages
|