Click here to Skip to main content
15,921,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralListCtrl and TreeCtrl Pin
Mohammed F. Salem19-Jul-05 11:13
Mohammed F. Salem19-Jul-05 11:13 
GeneralRe: ListCtrl and TreeCtrl Pin
Christian Graus19-Jul-05 11:18
protectorChristian Graus19-Jul-05 11:18 
GeneralRe: ListCtrl and TreeCtrl Pin
Mohammed F. Salem19-Jul-05 21:10
Mohammed F. Salem19-Jul-05 21:10 
GeneralRe: ListCtrl and TreeCtrl Pin
Christian Graus20-Jul-05 11:50
protectorChristian Graus20-Jul-05 11:50 
QuestionHow can i use (dbf) FoxPro files with MFC Pin
vugar19-Jul-05 10:46
vugar19-Jul-05 10:46 
AnswerRe: How can i use (dbf) FoxPro files with MFC Pin
Graham Bradshaw19-Jul-05 13:03
Graham Bradshaw19-Jul-05 13:03 
GeneralVugar Avazov Pin
vugar19-Jul-05 10:22
vugar19-Jul-05 10:22 
GeneralPassing variables between dialogs Pin
Nick Usechak19-Jul-05 9:16
Nick Usechak19-Jul-05 9:16 
I hate to trouble everyone with such a simple question but I’ve been stuck on this for about a day (I am not that experienced in VC++). I’ve already tried searching everywhere but didn’t find anything that helped me yet. I have a dialog based VC++ program that takes user input and solves a nonlinear partial differential equation. Anyway, I wrote a different dialog based VC++ program which plots the results. I am currently saving the results from the first *.exe to a data file and using ShellExecute() to open up the plotting *.exe file, import the data, and plot the results (just to get things working).

Obviously this approach is poor. I would like to avoid saving the data (an int, 2 1D arrays, and 1 2D array) to the temp file, and get a single application that performs all of the current functions. I tried adding a new dialog to the main project and then selecting “Create a new class” to associate with it. I am able to open this dialog from the main one using

Plotter dlgplot;
dlgplot.DoModal();

but can’t get data to it.


My question is: how can I pass the data from the main class to my plotting one?

Thank you in advance I appreciate any help.


GeneralRe: Passing variables between dialogs Pin
Chris Losinger19-Jul-05 9:30
professionalChris Losinger19-Jul-05 9:30 
GeneralRe: Passing variables between dialogs Pin
Nick Usechak19-Jul-05 10:05
Nick Usechak19-Jul-05 10:05 
GeneralRe: Passing variables between dialogs Pin
Chris Losinger19-Jul-05 10:13
professionalChris Losinger19-Jul-05 10:13 
GeneralRe: Passing variables between dialogs Pin
Nick Usechak19-Jul-05 11:20
Nick Usechak19-Jul-05 11:20 
GeneralRe: Passing variables between dialogs Pin
Rick York19-Jul-05 18:09
mveRick York19-Jul-05 18:09 
Questionsystem() ? Pin
kevingpo19-Jul-05 7:39
kevingpo19-Jul-05 7:39 
AnswerRe: system() ? Pin
David Crow19-Jul-05 7:42
David Crow19-Jul-05 7:42 
AnswerRe: system() ? Pin
toxcct19-Jul-05 22:54
toxcct19-Jul-05 22:54 
Generallimiting cpu usage for a process Pin
mbulhoes19-Jul-05 6:42
mbulhoes19-Jul-05 6:42 
GeneralRe: limitting cpu usage for a process Pin
Graham Bradshaw19-Jul-05 12:34
Graham Bradshaw19-Jul-05 12:34 
GeneralRe: limitting cpu usage for a process Pin
sfeldi19-Jul-05 22:16
sfeldi19-Jul-05 22:16 
GeneralRe: limiting cpu usage for a process Pin
mbulhoes20-Jul-05 8:06
mbulhoes20-Jul-05 8:06 
QuestionHow to retrive users info from a Windows Server Pin
ivax19-Jul-05 5:43
ivax19-Jul-05 5:43 
AnswerRe: How to retrive users info from a Windows Server Pin
David Crow19-Jul-05 6:05
David Crow19-Jul-05 6:05 
GeneralRe: How to retrive users info from a Windows Server Pin
ivax19-Jul-05 6:13
ivax19-Jul-05 6:13 
GeneralRe: How to retrive users info from a Windows Server Pin
David Crow19-Jul-05 9:33
David Crow19-Jul-05 9:33 
GeneralRe: How to retrive users info from a Windows Server Pin
Graham Bradshaw19-Jul-05 12:37
Graham Bradshaw19-Jul-05 12:37 

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.