|
-
July 27th, 2004, 03:23 PM
#1
Updating CDocument data from view
Hi,
I'm writing a SDI app. which has edit/combobox/list controls on the CFormView based dialog. All the controls have a variable (CString most of them) on the CDocument class waiting to receive their values. What would be the best way to update these variables before serialize them using the "Save" button on the toolbar? Should i map messages like ON_CBN_KILLFOCUS for each control and update them one by one? Or should i get, somehow, these values from the CDocument itself inside the serialize function?
Thanks in advance.
Ric
P.S. I'm new on SDI/MDI. Dialog based app so far.]
P.S.2 I researched the forum but didn't find any clarification on this.
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
|