Click here to Skip to main content
15,867,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDCOM Access Denied problem Pin
yamini31-Jul-01 0:28
yamini31-Jul-01 0:28 
GeneralBSC File format Pin
Franz Klein30-Jul-01 23:54
Franz Klein30-Jul-01 23:54 
GeneralCToolTipCtrl & Baloon Style Pin
AJ12330-Jul-01 23:13
AJ12330-Jul-01 23:13 
GeneralRe: CToolTipCtrl & Baloon Style Pin
30-Jul-01 23:32
suss30-Jul-01 23:32 
GeneralSeveral ToolBars positioning Pin
30-Jul-01 22:26
suss30-Jul-01 22:26 
GeneralRe: Several ToolBars positioning Pin
30-Jul-01 23:57
suss30-Jul-01 23:57 
Generalconvert to a string Pin
Gérald Mercet30-Jul-01 22:26
Gérald Mercet30-Jul-01 22:26 
GeneralRe: convert to a string Pin
Oliver Anhuth30-Jul-01 23:45
Oliver Anhuth30-Jul-01 23:45 
To convert a long to a string:
long l = 42;
TCHAR szBuffer[10];
wsprintf(szBuffer, _TEXT("ld"), l);

To convert a double to a long:
double d = 42.0;
long l = (long) d;

But you should check the range of the double before the conversion.

Oliver
GeneralRe: convert to a string Pin
Gérald Mercet30-Jul-01 23:49
Gérald Mercet30-Jul-01 23:49 
GeneralRe: convert to a string Pin
Oliver Anhuth31-Jul-01 0:10
Oliver Anhuth31-Jul-01 0:10 
GeneralRe: convert to a string Pin
31-Jul-01 0:50
suss31-Jul-01 0:50 
GeneralDeleting all columns in ListCtrl ... Pin
Hadi Rezaee30-Jul-01 21:39
Hadi Rezaee30-Jul-01 21:39 
GeneralRe: Deleting all columns in ListCtrl ... Pin
30-Jul-01 22:43
suss30-Jul-01 22:43 
GeneralRe: Deleting all columns in ListCtrl ... Pin
Hadi Rezaee30-Jul-01 23:02
Hadi Rezaee30-Jul-01 23:02 
GeneralRe: Deleting all columns in ListCtrl ... Pin
31-Jul-01 4:49
suss31-Jul-01 4:49 
QuestionHow to Gradate colors with RGB? Pin
jin sok cho30-Jul-01 21:03
jin sok cho30-Jul-01 21:03 
AnswerRe: How to Gradate colors with RGB? Pin
Paolo Messina31-Jul-01 11:19
professionalPaolo Messina31-Jul-01 11:19 
AnswerRe: How to Gradate colors with RGB? Pin
Steve T1-Aug-01 11:29
Steve T1-Aug-01 11:29 
QuestionHow to print a list control in a dialog box? Pin
nulldreamer30-Jul-01 20:00
nulldreamer30-Jul-01 20:00 
GeneralSTL container of multiple types Pin
Todd Smith30-Jul-01 15:45
Todd Smith30-Jul-01 15:45 
GeneralRe: STL container of multiple types Pin
Christian Graus30-Jul-01 16:12
protectorChristian Graus30-Jul-01 16:12 
GeneralRe: STL container of multiple types Pin
Todd Smith30-Jul-01 19:22
Todd Smith30-Jul-01 19:22 
GeneralRe: STL container of multiple types Pin
Shankar Chandra Bose30-Jul-01 21:05
Shankar Chandra Bose30-Jul-01 21:05 
GeneralRe: STL container of multiple types Pin
Not Active31-Jul-01 3:34
mentorNot Active31-Jul-01 3:34 
GeneralRe: STL container of multiple types Pin
Philippe Mori31-Jul-01 4:25
Philippe Mori31-Jul-01 4:25 

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.