Home > Software engineering >  Existing CEdit document editor document class pointer to input data into it, how to implement, and D
Existing CEdit document editor document class pointer to input data into it, how to implement, and D

Time:10-03

Opencv Mat class matrix, has been obtained, now use
AfxGetApp () - & gt; GetMainWnd () - & gt; SendMessage (WM_COMMAND ID_FILE_NEW_TXT);
CMDIChildWnd * pChild=(CMDIChildWnd *) ((CFrameWnd *) AfxGetApp () - & gt; GetMainWnd ()) - & gt; GetActiveFrame ();
PDoc CEditorDoc *=(CEditorDoc *) pChild - & gt; GetActiveDocument (); Pointer to a new document, the document, will think the Mat in the document, how to do?

CodePudding user response:

1 save data into a text file to open the
2 copies of data to the clipboard, GetEditCtrl (). Paste ();
  • Related