edit box variable
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I want to add a variable for an edit box. But the only choices are CString, int, long, UINT... is there some way I can have the variable be a float or a double?
Yep! Do it the real way ;). Tell ClassWizard to use a Control instead of a Variable, and then manipulate the CEdit directly. You will need to call its SetWindowText() and GetWindowText() functions and do the appropriate float <-> string conversions. cheers, swinefeaster Check out Aephid Photokeeper, the powerful digital photo album solution at www.aephid.com.