Click here to Skip to main content
15,918,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Joe Woodbury30-May-08 11:20
professionalJoe Woodbury30-May-08 11:20 
GeneralRe: Having trouble retreiving a integer value from the Edit Control Box. [modified] Pin
Nelek1-Jun-08 5:53
protectorNelek1-Jun-08 5:53 
GeneralRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Joe Woodbury1-Jun-08 11:40
professionalJoe Woodbury1-Jun-08 11:40 
GeneralRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Nelek2-Jun-08 4:32
protectorNelek2-Jun-08 4:32 
AnswerRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Michael Schubert30-May-08 12:49
Michael Schubert30-May-08 12:49 
QuestionRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Rajesh R Subramanian30-May-08 21:01
professionalRajesh R Subramanian30-May-08 21:01 
AnswerRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Nelek2-Jun-08 6:22
protectorNelek2-Jun-08 6:22 
AnswerRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
hilop2-Jun-08 7:00
hilop2-Jun-08 7:00 
GetWindowText() would not work with a type of int or cstring. Debug always showed the value was 0 though I'd entered 123456. So I've changed the category to Control and the type is CEdit. This is what I'd been doing earlier in the code and used the following code to get and convert the entry.

m_entered_number.GetWindowText( temp_CString );
entered_number = atoi( temp_CString );

Was looking for a way to eliminate the string and conversion but VS does not want to cooperate.
Everyone, thank you for you help.
GeneralRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
Nelek3-Jun-08 21:38
protectorNelek3-Jun-08 21:38 
AnswerRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
ThatsAlok20-Jul-09 1:04
ThatsAlok20-Jul-09 1:04 
QuestionCreating a .docx file programatically? Pin
ritz123430-May-08 5:12
ritz123430-May-08 5:12 
AnswerRe: Creating a .docx file programatically? Pin
Cedric Moonen30-May-08 6:05
Cedric Moonen30-May-08 6:05 
GeneralRe: Creating a .docx file programatically? Pin
led mike30-May-08 6:13
led mike30-May-08 6:13 
AnswerRe: Creating a .docx file programatically? Pin
led mike30-May-08 6:13
led mike30-May-08 6:13 
AnswerRe: Creating a .docx file programatically? Pin
David Crow30-May-08 7:56
David Crow30-May-08 7:56 
QuestionError with CArray, CMap Pin
Trupti Mehta30-May-08 4:44
Trupti Mehta30-May-08 4:44 
QuestionRe: Error with CArray, CMap Pin
David Crow30-May-08 4:59
David Crow30-May-08 4:59 
AnswerRe: Error with CArray, CMap Pin
Jijo.Raj30-May-08 5:52
Jijo.Raj30-May-08 5:52 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta30-May-08 22:41
Trupti Mehta30-May-08 22:41 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj30-May-08 23:16
Jijo.Raj30-May-08 23:16 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta31-May-08 0:38
Trupti Mehta31-May-08 0:38 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj31-May-08 6:28
Jijo.Raj31-May-08 6:28 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta1-Jun-08 0:05
Trupti Mehta1-Jun-08 0:05 
GeneralRe: Error with CArray, CMap Pin
Jijo.Raj1-Jun-08 1:59
Jijo.Raj1-Jun-08 1:59 
GeneralRe: Error with CArray, CMap Pin
Trupti Mehta1-Jun-08 8:57
Trupti Mehta1-Jun-08 8:57 

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.