|
-
February 21st, 2002, 06:09 AM
#4
Re: edit box in dialog bar
Go to Class Wizard and create a member varible
to IDC_EDIT ID edit control with Value and type CString.
Add a message handler to the dialog for EN_CHANGE.
In that message handler call UpdateData(TRUE) which
does the data exchange from the control to your member
variable. Get the floating point value from the
variable using C's "atoi" function.
Good Luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|