想在里面设置一个变量的值
并用弹出窗口做测试
可是好像一直不能响应
为什么?void CMainFrame::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
m_bBtnDown = TRUE;
AfxMessageBox("mainframe leftbutton down"); CMDIFrameWnd::OnLButtonDown(nFlags, point);
}
并用弹出窗口做测试
可是好像一直不能响应
为什么?void CMainFrame::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
m_bBtnDown = TRUE;
AfxMessageBox("mainframe leftbutton down"); CMDIFrameWnd::OnLButtonDown(nFlags, point);
}
好像在框架中也是没有反应的啊
to happyparrot "好像要用OnNCLButtonDown吧"之前我想到过用这个
不过在 class wizard 里面没有找到相应的消息可以让我添加这个函数
:(