If GetDlgItemInt(hdwnd,ID_EB1,NULL,1); retrives an int, how do I get hold of floats.
My program needs to work with input/outputs that need 3-4 decimal places, how do I do that?
Do I need to set my Editboxes up as floats?
Thanks
Indy
A quick solution would be to read it in using GetDlgItemText() and use atof() to convert it to a float.
-------
Andrew
-------
Andrew
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement