Click here to Skip to main content
15,885,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Data from one dialog box into another dialog box Pin
Nibu babu thomas20-Sep-06 22:45
Nibu babu thomas20-Sep-06 22:45 
AnswerRe: Data from one dialog box into another dialog box Pin
Sakthiu20-Sep-06 22:47
Sakthiu20-Sep-06 22:47 
GeneralRe: Data from one dialog box into another dialog box Pin
toxcct20-Sep-06 22:50
toxcct20-Sep-06 22:50 
GeneralRe: Data from one dialog box into another dialog box Pin
Sakthiu20-Sep-06 23:01
Sakthiu20-Sep-06 23:01 
GeneralRe: Data from one dialog box into another dialog box Pin
toxcct20-Sep-06 23:07
toxcct20-Sep-06 23:07 
QuestionRe: Data from one dialog box into another dialog box Pin
Eytukan21-Sep-06 4:15
Eytukan21-Sep-06 4:15 
GeneralRe: Data from one dialog box into another dialog box Pin
Hamid_RT21-Sep-06 8:14
Hamid_RT21-Sep-06 8:14 
AnswerRe: Data from one dialog box into another dialog box Pin
Rinu_Raj20-Sep-06 22:53
Rinu_Raj20-Sep-06 22:53 
Suppose you are creating these dialog in some class say a dialog class
CMainDlg

Class CMainDlg:Public CDialog
{

private:
Dlg1* pDlg1;
Dlg2* pDLg2;
......
}
Then in Class Dlg1 expose a function to Get the other dialog control's data and in class Dlg to set theat data
for eg

Class Dlg1:public CDilaog
{
public
CString GetDataFrmControl(); // supposing control's data type is of type CString
}

Class Dlg2:public CDilaog
{
public
void SetDataToControl( CString& Data ); // supposing control's data type is of type CString
}

///////////////////////////
CMainDLg::OnInitDialog
{
PDlg1 = new Dlg1;
pDlg2 = new Dlg2;
pDLg1->Create(..)
pDlg2->Create(..)


// pass the value from one dialog to another where ever needed
pDlg2->SetDataToControl( pDLg1->GetDataFrmControl())
}






Rinu Raj
QuestionRe: Data from one dialog box into another dialog box Pin
David Crow21-Sep-06 3:40
David Crow21-Sep-06 3:40 
AnswerRe: Data from one dialog box into another dialog box Pin
vc++_fragrance22-Sep-06 22:53
vc++_fragrance22-Sep-06 22:53 
AnswerRe: Data from one dialog box into another dialog box Pin
Hamid_RT21-Sep-06 8:14
Hamid_RT21-Sep-06 8:14 
QuestionHow do you get a dialog to respond to a key down message? Pin
D_code_writer20-Sep-06 22:19
D_code_writer20-Sep-06 22:19 
AnswerRe: How do you get a dialog to respond to a key down message? Pin
Rinu_Raj20-Sep-06 22:36
Rinu_Raj20-Sep-06 22:36 
AnswerRe: How do you get a dialog to respond to a key down message? Pin
Hamid_RT21-Sep-06 8:15
Hamid_RT21-Sep-06 8:15 
QuestionWhat is the notification code that gets sent when a scrollbar event occurs? Pin
skyapie20-Sep-06 22:11
skyapie20-Sep-06 22:11 
AnswerRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
Rinu_Raj20-Sep-06 22:40
Rinu_Raj20-Sep-06 22:40 
GeneralRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
skyapie21-Sep-06 0:03
skyapie21-Sep-06 0:03 
AnswerRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
prasad_som20-Sep-06 22:46
prasad_som20-Sep-06 22:46 
Questionwarning C4100 : how to get rid of it if issued by an included header ? Pin
Jerome Conus20-Sep-06 21:37
Jerome Conus20-Sep-06 21:37 
AnswerRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
toxcct20-Sep-06 21:45
toxcct20-Sep-06 21:45 
AnswerRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
Rinu_Raj20-Sep-06 21:45
Rinu_Raj20-Sep-06 21:45 
AnswerRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
Cedric Moonen20-Sep-06 22:02
Cedric Moonen20-Sep-06 22:02 
GeneralRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
toxcct20-Sep-06 22:09
toxcct20-Sep-06 22:09 
GeneralRe: warning C4100 : how to get rid of it if issued by an included header ? Pin
Cedric Moonen20-Sep-06 22:12
Cedric Moonen20-Sep-06 22:12 
QuestionChanging the default color of splitter bar? Pin
kiranin20-Sep-06 21:09
kiranin20-Sep-06 21:09 

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.