Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change icon appearing in taskbar in "grouped state" ? Pin
KarstenK11-Jun-08 3:51
mveKarstenK11-Jun-08 3:51 
GeneralRe: How to change icon appearing in taskbar in "grouped state" ? Pin
Graham Shanks11-Jun-08 23:34
Graham Shanks11-Jun-08 23:34 
QuestionCString to float conversion or Vice-Versa. Pin
Le@rner11-Jun-08 2:36
Le@rner11-Jun-08 2:36 
AnswerRe: CString to float conversion or Vice-Versa. Pin
toxcct11-Jun-08 2:42
toxcct11-Jun-08 2:42 
GeneralRe: CString to float conversion or Vice-Versa. Pin
Le@rner11-Jun-08 2:45
Le@rner11-Jun-08 2:45 
AnswerRe: CString to float conversion or Vice-Versa. Pin
Graham Shanks11-Jun-08 2:44
Graham Shanks11-Jun-08 2:44 
GeneralRe: CString to float conversion or Vice-Versa. Pin
Le@rner11-Jun-08 2:49
Le@rner11-Jun-08 2:49 
GeneralRe: CString to float conversion or Vice-Versa. Pin
Graham Shanks11-Jun-08 3:02
Graham Shanks11-Jun-08 3:02 
The only reason that I can think of that neither code works is that the string contains some other character before the numbers. atof will strip off any leading whitespace characters (MSDN says spaces and tabs only, but in my testing it also strips of newlines). Any other characters, probably including non printable characters, could cause it to return zero. Have you checked the characters in your string?

Graham

Librarians rule, Ook!

AnswerRe: CString to float conversion or Vice-Versa. Pin
Jijo.Raj11-Jun-08 3:02
Jijo.Raj11-Jun-08 3:02 
AnswerRe: CString to float conversion or Vice-Versa. Pin
KarstenK11-Jun-08 3:55
mveKarstenK11-Jun-08 3:55 
AnswerRe: CString to float conversion or Vice-Versa. Pin
krmed11-Jun-08 4:01
krmed11-Jun-08 4:01 
AnswerRe: CString to float conversion or Vice-Versa. Pin
jhwurmbach11-Jun-08 4:17
jhwurmbach11-Jun-08 4:17 
QuestionGetDlgItem() does not take 1 parameter Pin
Anu_Bala11-Jun-08 2:32
Anu_Bala11-Jun-08 2:32 
AnswerRe: GetDlgItem() does not take 1 parameter Pin
Jijo.Raj11-Jun-08 2:40
Jijo.Raj11-Jun-08 2:40 
AnswerRe: GetDlgItem() does not take 1 parameter Pin
Le@rner11-Jun-08 2:40
Le@rner11-Jun-08 2:40 
AnswerRe: GetDlgItem() does not take 1 parameter Pin
Cedric Moonen11-Jun-08 2:43
Cedric Moonen11-Jun-08 2:43 
AnswerRe: GetDlgItem() does not take 1 parameter Pin
Hamid_RT11-Jun-08 2:56
Hamid_RT11-Jun-08 2:56 
AnswerRe: GetDlgItem() does not take 1 parameter Pin
KarstenK11-Jun-08 3:58
mveKarstenK11-Jun-08 3:58 
QuestionCDC MoveTo(int,int) Pin
subramanyeswari11-Jun-08 1:48
subramanyeswari11-Jun-08 1:48 
AnswerRe: CDC MoveTo(int,int) Pin
CPallini11-Jun-08 1:53
mveCPallini11-Jun-08 1:53 
GeneralRe: CDC MoveTo(int,int) Pin
subramanyeswari11-Jun-08 2:52
subramanyeswari11-Jun-08 2:52 
AnswerRe: CDC MoveTo(int,int) Pin
Jijo.Raj11-Jun-08 1:55
Jijo.Raj11-Jun-08 1:55 
AnswerRe: CDC MoveTo(int,int) Pin
Hamid_RT11-Jun-08 2:04
Hamid_RT11-Jun-08 2:04 
AnswerRe: CDC MoveTo(int,int) Pin
achainard11-Jun-08 2:09
achainard11-Jun-08 2:09 
Questionthreadcreation Pin
Mohanraj D11-Jun-08 1:32
Mohanraj D11-Jun-08 1:32 

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.