|
-
April 11th, 1999, 03:01 AM
#2
Re: Can you change displayed data on the current dialog?
Use ONE dialog.
Attach a CEdit to the the control (use classwizard)- I've called it CEditCtrl here:
OnCalculate()// the button clik handler
{
CString szVal;
m_EditCtrl.GetWindowText(szVal);
// do your calc, setting result into szVal;
m_EditCtrl.SetWindowText(szVal);
}
that's all you need.
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
|