\\CDyBar.hclass CDyBar : public CControlBar
{
DECLARE_DYNAMIC(DyBar)
...... //{{AFX_MSG(DyBar)
.....
afx_msg void OnClose(); ....
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
}
\\CDyBar.cpp
IMPLEMENT_DYNAMIC(DyBar,CControlBar)
BEGIN_MESSAGE_MAP(DyBar, CControlBar)
//{{AFX_MSG_MAP(DyBar)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
但是在void CDyBar::OnClose()确捕获不到WM_CLOSE消息,不知哪错了,请各位高手帮帮忙。
急!急!急!
{
DECLARE_DYNAMIC(DyBar)
...... //{{AFX_MSG(DyBar)
.....
afx_msg void OnClose(); ....
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
}
\\CDyBar.cpp
IMPLEMENT_DYNAMIC(DyBar,CControlBar)
BEGIN_MESSAGE_MAP(DyBar, CControlBar)
//{{AFX_MSG_MAP(DyBar)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
但是在void CDyBar::OnClose()确捕获不到WM_CLOSE消息,不知哪错了,请各位高手帮帮忙。
急!急!急!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货