Click here to Skip to main content
15,913,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab Order Pin
Hamid_RT13-Feb-07 3:59
Hamid_RT13-Feb-07 3:59 
AnswerRe: Tab Order Pin
David Crow13-Feb-07 3:11
David Crow13-Feb-07 3:11 
AnswerRe: Tab Order Pin
Nemanja Trifunovic13-Feb-07 3:16
Nemanja Trifunovic13-Feb-07 3:16 
AnswerRe: Tab Order Pin
Hamid_RT13-Feb-07 3:56
Hamid_RT13-Feb-07 3:56 
QuestionGetting Mac Address Pin
Maverick.Libra13-Feb-07 3:00
Maverick.Libra13-Feb-07 3:00 
AnswerRe: Getting Mac Address Pin
bob1697213-Feb-07 3:37
bob1697213-Feb-07 3:37 
QuestionRe: Getting Mac Address Pin
David Crow13-Feb-07 3:43
David Crow13-Feb-07 3:43 
QuestionOpen dialog from within a dialog ? Pin
ldsdbomber13-Feb-07 0:10
ldsdbomber13-Feb-07 0:10 
What are the issues I need to be careful about here?

I have a simple MFC app wizard dialog that allows users to browse for various data files, data is then loaded into various controls and items on the dialog. When a set of manual data is entered and an add data button is clicked, I want another dialog to open up - it needs to have brought some data with it from the first dialog as it's supposed to find the closest matching data point in the original dialog and offer that as a suggestion in the 2nd dialog, the user can then accept that (in which case the 2nd dialog closes, and the suggested data is added to the controls on the main dialog), or cancel it (nothing happens in main dialog as 2nd dialog closes), or by selecting a different option in a listbox (populated by options determined by whats in the main dialog), the user can OK to close the 2nd dialog and have the data placed in the appropriate section of the controls.

I believe I just set up my 2nd dialog and then have a Domodal call to open it and test for its return code, but are there any tricks/traps I need to be aware of, and whats the "best" way to handle the data between the two - as separate dialogs, I can't for example include an array or class within the main dialog can I? do i need to use global data or is there a better way to pass/share info between dialogs

t.i.a


AnswerRe: Open dialog from within a dialog ? Pin
Hamid_RT13-Feb-07 0:21
Hamid_RT13-Feb-07 0:21 
AnswerRe: Open dialog from within a dialog ? Pin
toxcct13-Feb-07 0:30
toxcct13-Feb-07 0:30 
AnswerRe: Open dialog from within a dialog ? Pin
Rage13-Feb-07 1:14
professionalRage13-Feb-07 1:14 
QuestionHow to read a text line from a COM port Pin
jrgrobinson12-Feb-07 23:57
jrgrobinson12-Feb-07 23:57 
AnswerRe: How to read a text line from a COM port Pin
Roger Stoltz13-Feb-07 1:34
Roger Stoltz13-Feb-07 1:34 
GeneralRe: How to read a text line from a COM port Pin
jrgrobinson13-Feb-07 2:14
jrgrobinson13-Feb-07 2:14 
QuestionHow to set active tab in IE7 from BHO Pin
amsdev12-Feb-07 23:44
amsdev12-Feb-07 23:44 
QuestionHow to bind function with button after create them? Pin
bosfan12-Feb-07 23:34
bosfan12-Feb-07 23:34 
AnswerRe: How to bind function with button after create them? Pin
Hamid_RT13-Feb-07 0:40
Hamid_RT13-Feb-07 0:40 
GeneralRe: How to bind function with button after create them? Pin
bosfan13-Feb-07 1:20
bosfan13-Feb-07 1:20 
GeneralRe: How to bind function with button after create them? Pin
prasad_som13-Feb-07 2:15
prasad_som13-Feb-07 2:15 
GeneralRe: How to bind function with button after create them? Pin
bosfan13-Feb-07 2:21
bosfan13-Feb-07 2:21 
QuestionRe: How to bind function with button after create them? Pin
David Crow13-Feb-07 3:10
David Crow13-Feb-07 3:10 
GeneralRe: How to bind function with button after create them? Pin
Hamid_RT13-Feb-07 4:17
Hamid_RT13-Feb-07 4:17 
GeneralRe: How to bind function with button after create them? Pin
bosfan14-Feb-07 0:15
bosfan14-Feb-07 0:15 
GeneralRe: How to bind function with button after create them? Pin
Hamid_RT14-Feb-07 1:00
Hamid_RT14-Feb-07 1:00 
GeneralRe: How to bind function with button after create them? Pin
bosfan14-Feb-07 1:54
bosfan14-Feb-07 1:54 

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.