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

C / C++ / MFC

 
GeneralRe: Convert CString to double Pin
CPallini21-Jun-08 6:41
mveCPallini21-Jun-08 6:41 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 7:18
bkelly1321-Jun-08 7:18 
GeneralRe: Convert CString to double Pin
CPallini22-Jun-08 0:42
mveCPallini22-Jun-08 0:42 
GeneralSomebody voted me down for playing with you. Pin
Rajesh R Subramanian26-Jun-08 0:24
professionalRajesh R Subramanian26-Jun-08 0:24 
GeneralRe: Somebody voted me down for playing with you. Pin
CPallini26-Jun-08 1:00
mveCPallini26-Jun-08 1:00 
GeneralRe: Somebody voted me down for playing with you. Pin
Rajesh R Subramanian26-Jun-08 1:10
professionalRajesh R Subramanian26-Jun-08 1:10 
GeneralRe: Convert CString to double Pin
Nelek21-Jun-08 7:04
protectorNelek21-Jun-08 7:04 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 9:15
bkelly1321-Jun-08 9:15 
Hello Nelek,

I had forgotton about those. But then I would need to write some code that checks the string one char at a time.

I think that the best way is to use the CFilterEdit. But that requires getting and installing the Boost package mentioned elsewhere. It does seem to be far better than any than any thing else I have see.

But think about this for a minute. All user interface with dialogs involve the user typing in a string and the programmer converting at needed. The interface between the dialog and the remainder of the program is a string, period. The very idea that any programmer needs to go to this amount of effort just to get a string ( CString ) converted to an integer, float, double or what have you, is just down right absurd.

Am I the only one that recognizes this. If so, maybe I am the crazy one. Let me know.

Meanwhile, following Nelek's note in his/her signature:

I am grateful for each and every one of you that responded. Maybe this will be documented here or somewhere so others can find it.

Indeed, which I get this straight, I will write it up and add it to my site here:
www.bkelly.ws/software
I am very much open to suggestions and if you have a page written, put your name in there showing credit to you and I will be happy to post it and give you credit.

But first, I want to get my program working.
Thank you.

Thanks for your time

GeneralRe: Convert CString to double Pin
Nelek21-Jun-08 9:40
protectorNelek21-Jun-08 9:40 
QuestionRe: Convert CString to double Pin
David Crow21-Jun-08 12:51
David Crow21-Jun-08 12:51 
Questionproblem with status,progressbar [modified] Pin
sanjayvenkat20-Jun-08 23:18
sanjayvenkat20-Jun-08 23:18 
AnswerRe: problem with status,progressbar Pin
Nibu babu thomas21-Jun-08 2:07
Nibu babu thomas21-Jun-08 2:07 
QuestionHow to change width of a combo box at run time Pin
sheshidar20-Jun-08 23:11
sheshidar20-Jun-08 23:11 
AnswerRe: How to change width of a combo box at run time Pin
Hamid_RT20-Jun-08 23:44
Hamid_RT20-Jun-08 23:44 
AnswerRe: How to change width of a combo box at run time Pin
Ștefan-Mihai MOGA21-Jun-08 4:23
professionalȘtefan-Mihai MOGA21-Jun-08 4:23 
QuestionCTreeCtrl image set issue Pin
Abyss20-Jun-08 22:16
Abyss20-Jun-08 22:16 
QuestionDecompressing NTFS Compressed RAW Data Pin
Member 147600120-Jun-08 20:30
Member 147600120-Jun-08 20:30 
QuestionAbout position of AfxMessageBox OK button Pin
Mushtaque Nizamani20-Jun-08 18:55
Mushtaque Nizamani20-Jun-08 18:55 
AnswerRe: About position of AfxMessageBox OK button Pin
zafersavas20-Jun-08 19:28
zafersavas20-Jun-08 19:28 
AnswerRe: About position of AfxMessageBox OK button Pin
Ștefan-Mihai MOGA21-Jun-08 10:43
professionalȘtefan-Mihai MOGA21-Jun-08 10:43 
GeneralDisable Minimize and Maximize Box Pin
cb0206120-Jun-08 16:49
cb0206120-Jun-08 16:49 
GeneralRe: Disable Minimize and Maximize Box Pin
Jagdish V. Bhimbha20-Jun-08 19:13
Jagdish V. Bhimbha20-Jun-08 19:13 
GeneralRe: Disable Minimize and Maximize Box Pin
cb0206122-Jun-08 14:54
cb0206122-Jun-08 14:54 
GeneralRe: Disable Minimize and Maximize Box Pin
Jagdish V. Bhimbha22-Jun-08 20:28
Jagdish V. Bhimbha22-Jun-08 20:28 
GeneralRe: Disable Minimize and Maximize Box Pin
Christian Kleinheinz26-Jan-09 12:26
Christian Kleinheinz26-Jan-09 12:26 

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.