Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPassing values from one Dialog to Another. Pin
parichaybp24-Apr-06 19:02
parichaybp24-Apr-06 19:02 
AnswerRe: Passing values from one Dialog to Another. Pin
kiran janaswamy24-Apr-06 19:20
kiran janaswamy24-Apr-06 19:20 
hi,

steps to capture the filename from the first dialog (CreateDlg)

1) store the Filename in the CString Variable before the Ok Button was Pressed.
2) In OnInitDialog of the Second Dialog i mean (UpdateDlg) create a an Object of the First Dialog (CreateDialog) :

//==============================================================
(ie) CreateDialog *mpmain = (CreateDialog *)GetParent();
CString str = mpmain->filenamemembervarialbe;
ComboBox.Addstring(str); //Adding to ComboBox in SecondDialog
//==============================================================

over, Good Luck.

uday.





uday kiran
GeneralRe: Passing values from one Dialog to Another. Pin
parichaybp24-Apr-06 19:36
parichaybp24-Apr-06 19:36 
GeneralRe: Passing values from one Dialog to Another. Pin
kiran janaswamy24-Apr-06 19:42
kiran janaswamy24-Apr-06 19:42 
QuestionRe: Passing values from one Dialog to Another. Pin
parichaybp24-Apr-06 19:55
parichaybp24-Apr-06 19:55 
AnswerRe: Passing values from one Dialog to Another. Pin
kiran janaswamy24-Apr-06 20:25
kiran janaswamy24-Apr-06 20:25 
GeneralRe: Passing values from one Dialog to Another. Pin
parichaybp24-Apr-06 20:26
parichaybp24-Apr-06 20:26 
AnswerRe: Passing values from one Dialog to Another. Pin
Hamid_RT24-Apr-06 19:23
Hamid_RT24-Apr-06 19:23 
GeneralRe: Passing values from one Dialog to Another. Pin
parichaybp24-Apr-06 20:25
parichaybp24-Apr-06 20:25 
GeneralRe: Passing values from one Dialog to Another. Pin
kiran janaswamy24-Apr-06 20:47
kiran janaswamy24-Apr-06 20:47 
QuestionImages and listctrl Pin
Sandeep A.C24-Apr-06 19:01
Sandeep A.C24-Apr-06 19:01 
AnswerRe: Images and listctrl Pin
Hamid_RT24-Apr-06 19:18
Hamid_RT24-Apr-06 19:18 
Question::SetConsoleCtrlHandler(TConsole::CtrlHandler, TRUE); Pin
Tcpip200524-Apr-06 18:55
Tcpip200524-Apr-06 18:55 
AnswerRe: How to randomize a C++ STL linked list? Pin
Nibu babu thomas24-Apr-06 18:03
Nibu babu thomas24-Apr-06 18:03 
GeneralRe: How to randomize a C++ STL linked list? Pin
chasetoys24-Apr-06 18:48
chasetoys24-Apr-06 18:48 
QuestionAbout Final Project Pin
Aqueel24-Apr-06 17:22
Aqueel24-Apr-06 17:22 
AnswerRe: About Final Project Pin
parichaybp24-Apr-06 21:59
parichaybp24-Apr-06 21:59 
AnswerRe: About Final Project Pin
Anilkumar K V24-Apr-06 22:41
Anilkumar K V24-Apr-06 22:41 
QuestionMessage Handler without the window Pin
+-{Chimera}-+24-Apr-06 16:29
+-{Chimera}-+24-Apr-06 16:29 
AnswerRe: Message Handler without the window Pin
Nibu babu thomas24-Apr-06 16:52
Nibu babu thomas24-Apr-06 16:52 
AnswerRe: Message Handler without the window Pin
Michael Dunn24-Apr-06 20:21
sitebuilderMichael Dunn24-Apr-06 20:21 
QuestionHow to use the pointer and new for two dimensional array Pin
mrby12324-Apr-06 10:58
mrby12324-Apr-06 10:58 
AnswerRe: How to use the pointer and new for two dimensional array Pin
Michael Dunn24-Apr-06 12:27
sitebuilderMichael Dunn24-Apr-06 12:27 
GeneralRe: How to use the pointer and new for two dimensional array Pin
mrby12324-Apr-06 12:54
mrby12324-Apr-06 12:54 
GeneralRe: How to use the pointer and new for two dimensional array Pin
Michael Dunn24-Apr-06 13:38
sitebuilderMichael Dunn24-Apr-06 13:38 

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.