温故而知新,学习MFC框架如何创建的过程[11]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 liukaven 的 blog

     loadacceltable(makeintresource(nidresource));

 

     // wm_initialupdate 是 mfc 发明的消息,参见后面的说明。

     if (pcontext == null)   // send initial update

         sendmessagetodescendants(wm_initialupdate, 0, 0, true, true);

 

     return true;

}

 

以下是从tn024: mfc-defined messages and resources中抽取的部分说明:

wm_initialupdate

this message is sent by the document template to all descendants of a frame window when it is safe for them to do their initial update. it maps to a call to cview::oninitialupdate but can be used in other cwnd-derived classes for other one-shot updating.

wparam

not used (0)

lparam

not used (0)

returns

not used (0)

本文关键:温故而知新,学习MFC框架如何创建的过程
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top