Click here to Skip to main content
16,006,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: edit box issue Pin
Cedric Moonen31-Jan-08 23:14
Cedric Moonen31-Jan-08 23:14 
GeneralRe: edit box issue Pin
Hamid_RT1-Feb-08 0:55
Hamid_RT1-Feb-08 0:55 
GeneralRe: edit box issue Pin
Iain Clarke, Warrior Programmer31-Jan-08 22:56
Iain Clarke, Warrior Programmer31-Jan-08 22:56 
GeneralRe: edit box issue Pin
Chandrasekharan P31-Jan-08 23:54
Chandrasekharan P31-Jan-08 23:54 
GeneralRe: edit box issue Pin
Iain Clarke, Warrior Programmer1-Feb-08 0:20
Iain Clarke, Warrior Programmer1-Feb-08 0:20 
GeneralRe: edit box issue Pin
Chandrasekharan P4-Feb-08 0:08
Chandrasekharan P4-Feb-08 0:08 
GeneralRe: edit box issue Pin
Iain Clarke, Warrior Programmer4-Feb-08 1:01
Iain Clarke, Warrior Programmer4-Feb-08 1:01 
GeneralRe: edit box issue Pin
Chandrasekharan P4-Feb-08 0:45
Chandrasekharan P4-Feb-08 0:45 
i have done something like this

the inital value is
<br />
m_editvalue = pApp1->m_number;<br />


this will send the value from the first dialog to the dialog where there i want the value to be passed(dialog2)

now as per u have told me.

i have made a CString variable

<br />
CString str;<br />
str.Format("%d",m_editvalue);<br />
int value1 = atoi(str);<br />
<br />


now str contains the new value or the value that is there in the editbox of dialog2.

now i have passed this value to the app.

i have made a int variable in app.
<br />
<br />
int appvalue = dialog2.value1; <br />



and i have passed the value back to the dialog2. is this what needs to be done?
QuestionProblem creating Class for Oracle Table. Pin
megha_gharote31-Jan-08 19:41
megha_gharote31-Jan-08 19:41 
QuestionRe: Problem creating Class for Oracle Table. Pin
David Crow14-Mar-08 5:52
David Crow14-Mar-08 5:52 
GeneralIUnknown Pin
George_George31-Jan-08 19:03
George_George31-Jan-08 19:03 
GeneralRe: IUnknown Pin
vijay_aroli31-Jan-08 19:32
vijay_aroli31-Jan-08 19:32 
GeneralRe: IUnknown Pin
Hamid_RT31-Jan-08 20:00
Hamid_RT31-Jan-08 20:00 
GeneralRe: IUnknown Pin
vijay_aroli31-Jan-08 20:07
vijay_aroli31-Jan-08 20:07 
GeneralRe: IUnknown Pin
George_George1-Feb-08 19:15
George_George1-Feb-08 19:15 
GeneralRe: IUnknown Pin
George_George1-Feb-08 19:13
George_George1-Feb-08 19:13 
GeneralRe: IUnknown Pin
Hamid_RT1-Feb-08 20:16
Hamid_RT1-Feb-08 20:16 
GeneralRe: IUnknown Pin
CPallini31-Jan-08 21:22
mveCPallini31-Jan-08 21:22 
GeneralRe: IUnknown Pin
George_George1-Feb-08 19:14
George_George1-Feb-08 19:14 
GeneralRe: IUnknown Pin
Iain Clarke, Warrior Programmer1-Feb-08 1:34
Iain Clarke, Warrior Programmer1-Feb-08 1:34 
GeneralRe: IUnknown Pin
George_George1-Feb-08 19:15
George_George1-Feb-08 19:15 
GeneralRe: IUnknown Pin
Hamid_RT1-Feb-08 20:15
Hamid_RT1-Feb-08 20:15 
Questionpng file Pin
Antonyemac31-Jan-08 18:49
Antonyemac31-Jan-08 18:49 
GeneralRe: png file Pin
Hamid_RT31-Jan-08 20:02
Hamid_RT31-Jan-08 20:02 
GeneralRe: png file Pin
bob169721-Feb-08 2:08
bob169721-Feb-08 2:08 

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.