Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 4th, 2005, 11:14 AM   #1
stealthgate
Newbie
 
Join Date: Jun 2005
Posts: 2
Rep Power: 0 stealthgate is on a distinguished road
Question displaying doubles in win32 apps?

I'm not sure how to display doubles in win32 applications. I understand that SetDlgItemInt(...) displays ints, but is there a similar function that displays doubles?

any help is greatly appreciated.

thanks.
stealthgate is offline   Reply With Quote
Old Jun 4th, 2005, 11:39 AM   #2
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 915
Rep Power: 4 The Dark is on a distinguished road
It is probably easiest to use sprintf to convert the doubles to a string and then use SetDlgItemText to display the string.
The Dark is offline   Reply With Quote
Old Jun 6th, 2005, 8:25 PM   #3
stealthgate
Newbie
 
Join Date: Jun 2005
Posts: 2
Rep Power: 0 stealthgate is on a distinguished road
smart idea! i wouldn't have thought of that. thanks for the response...
stealthgate is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:09 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC