Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCEdit Pin
17-Aug-01 9:30
suss17-Aug-01 9:30 
GeneralRe: CEdit Pin
Jake Palmer17-Aug-01 9:40
Jake Palmer17-Aug-01 9:40 
GeneralRe: CEdit Pin
The_Server18-Aug-01 12:09
The_Server18-Aug-01 12:09 
GeneralCBitmap, CButton HBIMAP and more.. Pin
Remi Morin17-Aug-01 9:11
Remi Morin17-Aug-01 9:11 
GeneralRe: CBitmap, CButton HBIMAP and more.. Pin
17-Aug-01 12:11
suss17-Aug-01 12:11 
GeneralRe: CBitmap, CButton HBIMAP and more.. Pin
Michael Dunn17-Aug-01 16:58
sitebuilderMichael Dunn17-Aug-01 16:58 
GeneralProblems using List Control Pin
RobJones17-Aug-01 7:59
RobJones17-Aug-01 7:59 
GeneralRe: Problems using List Control Pin
Remi Morin17-Aug-01 9:40
Remi Morin17-Aug-01 9:40 
There an easy way... I don't know if it's the best... but

You have to find the common "parent" to set up a "road" between you'r 2 dialog box. Like the Application itself, you can create a function who look like

void MyApplication::Populate()
{
DialogA.Populate()
}

in you'r dialog b you will be able to do¨
void DialogB::FucntionSomething(...)
{
//blablabla
(AfxGetApp())->Populate();
//blablabla
}

Other way is when you create you'r dialog if they are designed to work together you can add a private member to acess the other dialog

class DialogB : public CDialog
{
//blabla
DialogA* m_pDialogA;
}
So when you create them somewhere you can pitch there a valid pointer to the other DialogBox


Remi Morin
Rmorin@Operamail.com
Remi.Morin@Lyrtech.com

QuestionDAO JET ? Pin
otvac17-Aug-01 6:56
otvac17-Aug-01 6:56 
AnswerRe: DAO JET ? Pin
The_Server18-Aug-01 12:21
The_Server18-Aug-01 12:21 
AnswerRe: DAO JET ? Pin
The_Server18-Aug-01 12:24
The_Server18-Aug-01 12:24 
GeneralCEditView & Menu Question Pin
Joseph LeBlanc17-Aug-01 6:43
Joseph LeBlanc17-Aug-01 6:43 
GeneralRe: CEditView & Menu Question Pin
Jake Palmer17-Aug-01 8:12
Jake Palmer17-Aug-01 8:12 
GeneralRe: CEditView & Menu Question Pin
Orbital^19-Aug-01 21:55
Orbital^19-Aug-01 21:55 
GeneralWord Add-Ins Pin
AJ12317-Aug-01 5:55
AJ12317-Aug-01 5:55 
GeneralFile|Save Pin
17-Aug-01 5:50
suss17-Aug-01 5:50 
GeneralRe: File|Save Pin
Tomasz Sowinski17-Aug-01 6:02
Tomasz Sowinski17-Aug-01 6:02 
GeneralIcon thingie Pin
17-Aug-01 4:48
suss17-Aug-01 4:48 
GeneralRe: Icon thingie Pin
Tomasz Sowinski17-Aug-01 4:53
Tomasz Sowinski17-Aug-01 4:53 
GeneralRe: Icon thingie Pin
17-Aug-01 5:37
suss17-Aug-01 5:37 
GeneralRe: Icon thingie Pin
Tomasz Sowinski17-Aug-01 5:48
Tomasz Sowinski17-Aug-01 5:48 
General"Override" SetForegroundWindow() limitation on win2k+ Pin
Daniel Fallman17-Aug-01 4:11
Daniel Fallman17-Aug-01 4:11 
GeneralRe: Pin
J Patel17-Aug-01 6:32
J Patel17-Aug-01 6:32 
GeneralRe: Pin
Boris Russel17-Aug-01 12:40
Boris Russel17-Aug-01 12:40 
GeneralVfw problems Pin
17-Aug-01 4:05
suss17-Aug-01 4:05 

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.