Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: data types conversion Pin
shpid3r18-Sep-07 9:11
shpid3r18-Sep-07 9:11 
GeneralRe: data types conversion Pin
DevMentor.org18-Sep-07 9:30
DevMentor.org18-Sep-07 9:30 
AnswerDWORD Solved. How about double and SYSTEMTIME [modified] Pin
shpid3r19-Sep-07 0:29
shpid3r19-Sep-07 0:29 
GeneralRe: DWORD Solved. How about double and SYSTEMTIME Pin
DevMentor.org19-Sep-07 8:52
DevMentor.org19-Sep-07 8:52 
AnswerAll Issues Solved. 10x for support Pin
shpid3r19-Sep-07 10:53
shpid3r19-Sep-07 10:53 
QuestionUsing Emoticons(Smilies) in Rich Text Box Pin
ddspliting18-Sep-07 7:23
ddspliting18-Sep-07 7:23 
AnswerRe: Using Emoticons(Smilies) in Rich Text Box Pin
Nathan Holt at EMOM18-Sep-07 7:35
Nathan Holt at EMOM18-Sep-07 7:35 
QuestionConvert Problem CString to double Pin
Andy20218-Sep-07 7:03
Andy20218-Sep-07 7:03 
The value in the text box is "50.56556", but the converted value is 5.
Also the value of the temp string is "5"


CString sz_DisplayStr;<br />
char *temp;<br />
<br />
m_cInitLat.GetWindowTextW(g_szDisplayStr);<br />
short length = g_szDisplayStr.GetLength();<br />
temp = (char*)(LPCTSTR)g_szDisplayStr.GetBuffer(length);	<br />
m_dInitLat = atof(temp);


Also why has GetWindowText gone to GetWindowTextW?

Andy
AnswerRe: Convert Problem CString to double Pin
Chris Losinger18-Sep-07 7:12
professionalChris Losinger18-Sep-07 7:12 
AnswerRe: Convert Problem CString to double Pin
Maximilien18-Sep-07 7:13
Maximilien18-Sep-07 7:13 
AnswerRe: Convert Problem CString to double [modified] Pin
DevMentor.org18-Sep-07 8:08
DevMentor.org18-Sep-07 8:08 
AnswerRe: Convert Problem CString to double Pin
Mark Salsbery18-Sep-07 9:03
Mark Salsbery18-Sep-07 9:03 
Question[Winsock] Get the address of the internet connected NIC Pin
ioctl5118-Sep-07 5:32
ioctl5118-Sep-07 5:32 
AnswerRe: [Winsock] Get the address of the internet connected NIC Pin
DevMentor.org18-Sep-07 6:24
DevMentor.org18-Sep-07 6:24 
AnswerRe: [Winsock] Get the address of the internet connected NIC Pin
DevMentor.org18-Sep-07 6:37
DevMentor.org18-Sep-07 6:37 
GeneralRe: [Winsock] Get the address of the internet connected NIC Pin
ioctl5118-Sep-07 21:29
ioctl5118-Sep-07 21:29 
QuestionRead a string from registry Pin
john563218-Sep-07 4:51
john563218-Sep-07 4:51 
AnswerRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 5:09
Mark Salsbery18-Sep-07 5:09 
GeneralRe: Read a string from registry Pin
led mike18-Sep-07 6:36
led mike18-Sep-07 6:36 
GeneralRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 6:42
Mark Salsbery18-Sep-07 6:42 
GeneralRe: Read a string from registry Pin
led mike18-Sep-07 6:46
led mike18-Sep-07 6:46 
GeneralRe: Read a string from registry Pin
David Crow18-Sep-07 6:57
David Crow18-Sep-07 6:57 
GeneralRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 9:23
Mark Salsbery18-Sep-07 9:23 
QuestionRe: Read a string from registry Pin
David Crow18-Sep-07 5:11
David Crow18-Sep-07 5:11 
Questionquestion on static creating multi-views Pin
King Tran18-Sep-07 4:18
King Tran18-Sep-07 4:18 

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.