Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a project that has a dialog box with audio sliders on it. When the ok button on the dialog is clicked the slider values are stored (in Doc variables). I tried to serialize then but when I save a document then open it the values are not there. I am using the doc/view arch does anyone have an example or tutorial that does something similar? Thanks in advance.
Posted

1 solution

Most likely the values weren't set in the document. Did you debug to find out?

How are you passing the instance of the document you want serialized to the dialog? And if you're following the doc/view architecture you generaly shouldn't serialize (save) the document which is generally an explicit user action. Just mark the document as dirty.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900