And in MainFrm. CPP will data storage to m_image
If you want to be in the MainView. CPP in call on the processing to do?
Please give guidance...
CodePudding user response:
Write a function view, add a pointer variablePut it in the frame passed
Or
In the frame write a return a pointer to the function of
In the view
CodePudding user response:
Strong with AfxGetMainWnd (), and then turn the pointerCodePudding user response:
(CMainFrame *) AfxGetMainWnd () - & gt; M_imageCodePudding user response:
Can also through the messaging, data AfxGetMainWnd () - & gt; PostMessage/SendMessage to the main frame window class,