displaying decimal number in edit box

W

wayne

Understand that SetDlgItemInt is to show the number in edit box
SetDlgItemText is to show text...

How abt displaying a decimal number, like 187.542??

thanks alot
 
D

David Lowndes

Understand that SetDlgItemInt is to show the number in edit box
SetDlgItemText is to show text...

How abt displaying a decimal number, like 187.542??

You have to convert the value to a string and then display the string.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top