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.
|