但我加了也不行啊,根本没执行到CChild的 OnInitDialog
看我的代码
BEGIN_MSG_MAP(CChild)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)END_MSG_MAP() LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
我加了消息处理了