Click here to Skip to main content
15,925,723 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OT + Offtopic Pin
Rajkumar R31-May-08 22:22
Rajkumar R31-May-08 22:22 
GeneralRe: OT + Offtopic Pin
Rajesh R Subramanian1-Jun-08 0:26
professionalRajesh R Subramanian1-Jun-08 0:26 
QuestionGetDefaultConnect() in CRecordset? Pin
Le@rner30-May-08 19:30
Le@rner30-May-08 19:30 
AnswerCP NOTE Pin
leckey31-May-08 16:42
leckey31-May-08 16:42 
AnswerRe: GetDefaultConnect() in CRecordset? Pin
Mark Salsbery2-Jun-08 7:15
Mark Salsbery2-Jun-08 7:15 
GeneralRe: GetDefaultConnect() in CRecordset? Pin
Le@rner29-Jun-08 23:19
Le@rner29-Jun-08 23:19 
GeneralRe: GetDefaultConnect() in CRecordset? Pin
Mark Salsbery30-Jun-08 6:05
Mark Salsbery30-Jun-08 6:05 
QuestionHBITMAP handle Pin
trioum30-May-08 19:12
trioum30-May-08 19:12 
AnswerRe: HBITMAP handle Pin
Rajkumar R30-May-08 23:02
Rajkumar R30-May-08 23:02 
QuestionWhat about (_variant_t)false and _variant_t(false)? Pin
followait30-May-08 18:12
followait30-May-08 18:12 
Question[MFC] Add a CView zone into a CFormView ?? Pin
Schehaider_Aymen30-May-08 12:59
Schehaider_Aymen30-May-08 12:59 
AnswerRe: [MFC] Add a CView zone into a CFormView ?? Pin
Rajkumar R30-May-08 23:15
Rajkumar R30-May-08 23:15 
QuestionHaving trouble retreiving a integer value from the Edit Control Box. Pin
hilop30-May-08 7:32
hilop30-May-08 7:32 
AnswerRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
David Crow30-May-08 7:57
David Crow30-May-08 7:57 
GeneralRe: Having trouble retreiving a integer value from the Edit Control Box. Pin
hilop30-May-08 9:07
hilop30-May-08 9:07 
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 

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.