Home > Software engineering >  MFC to develop OFFICE, monitor file events, realize how to distinguish the INVOKE event from which f
MFC to develop OFFICE, monitor file events, realize how to distinguish the INVOKE event from which f

Time:09-25

As title,
In a word, for example, multiple files only call once wordApp. CreateDispatch (_T (" word. Application ")), for wordApp binding a Listener,
Each file corresponding to a Document0 object, create attached with certain private information, packing on the Document0,
Realize because of the need to invoke the file's private information, so you need to know to capture the events from the document window, how to distinguish?
At the start of the pDispParams - & gt; Rgvarg [0]. PdispVal, it compared with m_lpDispatch Document0 object, but found that the same file window trigger events, the returned pDispParams - & gt; Rgvarg [0]. PdispVal is not the same? What should I do?
Novice small white for help ~ ~ thank god to answer!

CodePudding user response:

Baidu search relevant keywords,

CodePudding user response:

Under the proposal to the Microsoft website BBS to consult
  • Related