Re: edit box in dialog bar
Have you tried declaring a variable and writing data exchange function for that edit control?
Re: edit box in dialog bar
i cannot do it because i dont understand, i don't know what variable name and variable type i should create, and what function i should create,
how to transfer the edit box as IDC_EDIT ID with the variable that i create.
help me plz
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