Click here to Skip to main content
16,016,736 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerSome thread questions Pin
Vaclav_1-Jul-11 3:22
Vaclav_1-Jul-11 3:22 
QuestionProblems with MFC Ribbon edit with spin button Pin
Dansveen27-Jun-11 11:04
Dansveen27-Jun-11 11:04 
QuestionRe: Problems with MFC Ribbon edit with spin button Pin
Albert Holguin27-Jun-11 15:43
professionalAlbert Holguin27-Jun-11 15:43 
AnswerRe: Problems with MFC Ribbon edit with spin button Pin
Peter_in_278027-Jun-11 16:49
professionalPeter_in_278027-Jun-11 16:49 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Dansveen28-Jun-11 3:28
Dansveen28-Jun-11 3:28 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Albert Holguin28-Jun-11 3:44
professionalAlbert Holguin28-Jun-11 3:44 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Dansveen28-Jun-11 4:03
Dansveen28-Jun-11 4:03 
AnswerRe: Problems with MFC Ribbon edit with spin button Pin
Albert Holguin28-Jun-11 5:00
professionalAlbert Holguin28-Jun-11 5:00 
See... you're problem is probably with the conversion of the CString to an integer... place pEdit->GetEditText() on its own line and look at the text returned. If its 1000, with or without a coma, its correct and the problem is with the function doing the conversion to integer. You can always take your returned CString and remove the ',' character before even attempting the conversion.

CString ret = pEdit->GetEditText(); //<-- check the returned string
ret.Remove(','); //<-- Now you can convert this

GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Dansveen28-Jun-11 8:44
Dansveen28-Jun-11 8:44 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Albert Holguin28-Jun-11 9:31
professionalAlbert Holguin28-Jun-11 9:31 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Dansveen28-Jun-11 15:17
Dansveen28-Jun-11 15:17 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Albert Holguin29-Jun-11 4:30
professionalAlbert Holguin29-Jun-11 4:30 
GeneralRe: Problems with MFC Ribbon edit with spin button Pin
Peter_in_278028-Jun-11 15:00
professionalPeter_in_278028-Jun-11 15:00 
QuestionHow to Send/Post Message to a CDocument object? Pin
Odysseas Z27-Jun-11 10:25
Odysseas Z27-Jun-11 10:25 
QuestionRe: How to Send/Post Message to a CDocument object? Pin
David Crow27-Jun-11 10:44
David Crow27-Jun-11 10:44 
AnswerRe: How to Send/Post Message to a CDocument object? Pin
Odysseas Z27-Jun-11 10:59
Odysseas Z27-Jun-11 10:59 
GeneralRe: How to Send/Post Message to a CDocument object? Pin
Richard MacCutchan27-Jun-11 22:17
mveRichard MacCutchan27-Jun-11 22:17 
AnswerRe: How to Send/Post Message to a CDocument object? Pin
Albert Holguin27-Jun-11 11:41
professionalAlbert Holguin27-Jun-11 11:41 
GeneralRe: How to Send/Post Message to a CDocument object? Pin
Vaclav_27-Jun-11 13:44
Vaclav_27-Jun-11 13:44 
GeneralRe: How to Send/Post Message to a CDocument object? Pin
Albert Holguin27-Jun-11 15:15
professionalAlbert Holguin27-Jun-11 15:15 
Questionstandard way to parse command line from a string Pin
Ribhi Kamal27-Jun-11 8:59
professionalRibhi Kamal27-Jun-11 8:59 
AnswerRe: standard way to parse command line from a string [modified] Pin
CPallini27-Jun-11 9:48
mveCPallini27-Jun-11 9:48 
AnswerRe: standard way to parse command line from a string Pin
David Crow27-Jun-11 10:05
David Crow27-Jun-11 10:05 
AnswerRe: standard way to parse command line from a string Pin
Richard MacCutchan27-Jun-11 22:07
mveRichard MacCutchan27-Jun-11 22:07 
QuestionIO Completion Ports and windows sockets Pin
csrss27-Jun-11 7:19
csrss27-Jun-11 7:19 

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.