Home > Software engineering >  MFC
MFC

Time:09-17

How to write to read data from the custom class to document classes?
Just learning MFC vegetables chicken online urgent!
Total is a member of the document class, I want to press the button, the dialog box and showed the view of total value,

CodePudding user response:

View the View class, through the CView: : GetDocument () interface to get the document class CDocument class pointer