Click here to Skip to main content
15,917,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Hamid_RT2-Jul-08 20:14
Hamid_RT2-Jul-08 20:14 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Saurabh.Garg2-Jul-08 20:26
Saurabh.Garg2-Jul-08 20:26 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Hamid_RT2-Jul-08 20:55
Hamid_RT2-Jul-08 20:55 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Saurabh.Garg2-Jul-08 20:57
Saurabh.Garg2-Jul-08 20:57 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Hamid_RT2-Jul-08 21:25
Hamid_RT2-Jul-08 21:25 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Saurabh.Garg2-Jul-08 21:33
Saurabh.Garg2-Jul-08 21:33 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Hamid_RT2-Jul-08 21:42
Hamid_RT2-Jul-08 21:42 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Saurabh.Garg2-Jul-08 21:47
Saurabh.Garg2-Jul-08 21:47 
AnswerRe: How can I show only Cancel button on Messagebox Pin
Saurabh.Garg2-Jul-08 18:34
Saurabh.Garg2-Jul-08 18:34 
GeneralRe: How can I show only Cancel button on Messagebox Pin
sheshidar2-Jul-08 18:48
sheshidar2-Jul-08 18:48 
GeneralRe: How can I show only Cancel button on Messagebox Pin
Saurabh.Garg2-Jul-08 18:59
Saurabh.Garg2-Jul-08 18:59 
QuestionHow to change resource FORMVIEW's language(In VC.net IDE) Pin
zhaokang19812-Jul-08 17:38
zhaokang19812-Jul-08 17:38 
AnswerRe: How to change resource FORMVIEW's language(In VC.net IDE) Pin
zhaokang19812-Jul-08 21:38
zhaokang19812-Jul-08 21:38 
Questionhelp format a number as a CString Pin
limesp2-Jul-08 17:37
limesp2-Jul-08 17:37 
AnswerRe: help format a number as a CString Pin
Saurabh.Garg2-Jul-08 17:51
Saurabh.Garg2-Jul-08 17:51 
QuestionHelp with _tioa and other conversion routines Pin
Larry Mills Sr2-Jul-08 12:51
Larry Mills Sr2-Jul-08 12:51 
AnswerRe: Help with _tioa and other conversion routines Pin
Saurabh.Garg2-Jul-08 16:45
Saurabh.Garg2-Jul-08 16:45 
GeneralRe: Help with _tioa and other conversion routines Pin
Larry Mills Sr2-Jul-08 17:26
Larry Mills Sr2-Jul-08 17:26 
For instance : int a = 42; CString str; int tmp;(pEdit already established) pEdit1->GetDlgItemText(str); now str holds the value the User typed which was NOT a number. but the representation of a number in character format. Now tmp = _tstoi(str); WORKS it changes the character to a number and puts it in tmp(an integer). but my question is How do I do the reverse? How to I get an integer valve into the CString(ie str)?

I've tried these functions: _itot_s, _itoa_s, and _itoa and they all give a long error message basically saying the str cannot be transfered to a char*

I know there is something that works, but I can't recall what it is.

I just want to put an integer value into a CString after I have converted one from the User's entry.

A C++ programming language novice, but striving to learn
GeneralRe: Help with _tioa and other conversion routines Pin
Saurabh.Garg2-Jul-08 17:39
Saurabh.Garg2-Jul-08 17:39 
GeneralRe: Help with _tioa and other conversion routines Pin
Larry Mills Sr3-Jul-08 3:55
Larry Mills Sr3-Jul-08 3:55 
AnswerRe: Help with _tioa and other conversion routines Pin
beko2-Jul-08 19:55
beko2-Jul-08 19:55 
GeneralRe: Help with _tioa and other conversion routines Pin
Larry Mills Sr3-Jul-08 4:10
Larry Mills Sr3-Jul-08 4:10 
GeneralRe: Help with _tioa and other conversion routines Pin
Mark Salsbery3-Jul-08 7:04
Mark Salsbery3-Jul-08 7:04 
GeneralRe: Help with _tioa and other conversion routines Pin
Larry Mills Sr3-Jul-08 9:04
Larry Mills Sr3-Jul-08 9:04 
Question'strptime': identifier not found, even with argument-dependent lookup Pin
dinesh_shads2-Jul-08 12:02
dinesh_shads2-Jul-08 12:02 

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.