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

C / C++ / MFC

 
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 
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 
Double variables may hold values which is greater than the maximum long. If you are sure that your value fits into a long you could use the conversion right away.
If not you have to do something like this
if ((d < LONG_MIN) || (d > LONG_MAX))
{
  error
}
else
{
  conversion
}
The ceil function does not change the integer part.

Oliver
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 
GeneralRe: STL container of multiple types Pin
Todd Smith31-Jul-01 5:52
Todd Smith31-Jul-01 5:52 
QuestionHow can I move mouse cursor from my program? Pin
30-Jul-01 14:21
suss30-Jul-01 14:21 

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.