Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConvert CString to double Pin
bkelly1321-Jun-08 4:27
bkelly1321-Jun-08 4:27 
AnswerRe: Convert CString to double Pin
bkelly1321-Jun-08 4:30
bkelly1321-Jun-08 4:30 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 4:33
professionalȘtefan-Mihai MOGA21-Jun-08 4:33 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 4:42
bkelly1321-Jun-08 4:42 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 4:47
professionalȘtefan-Mihai MOGA21-Jun-08 4:47 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 6:27
bkelly1321-Jun-08 6:27 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 6:42
professionalȘtefan-Mihai MOGA21-Jun-08 6:42 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 16:05
bkelly1321-Jun-08 16:05 
Hello Mahai,
I have installed the Boost environment, I have added FloatEdit and BaseEdit to my project, and they will compile. Now I see method
double CFloatEdit::GetValue () const
in file FloatEdit.cpp

But I don't see how to apply it to my dialog box.
One of the fields that I want filtered has the ID:
IDC_X_POSITION_EDIT
and string in the box can be accessed via the variable name as follows:
GBE_x_position_string.GetWindowTextW( str );
That puts the value into CString names str.

Can you tell me how to use this FloatEdit to check the inputs to this field?

Thanks for your time

GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 20:18
professionalȘtefan-Mihai MOGA21-Jun-08 20:18 
GeneralRe: Convert CString to double Pin
bkelly1322-Jun-08 2:44
bkelly1322-Jun-08 2:44 
GeneralRe: Convert CString to double Pin
CPallini21-Jun-08 4:48
mveCPallini21-Jun-08 4:48 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 4:51
bkelly1321-Jun-08 4:51 
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 
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 

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.