请问,怎样让状态条响应鼠标事件?
解决方案 »
- directx input的时候,如何将中文输入法也加入,看了半天的imm资料没什么头绪,请各位高手指点
- 用VFW存储成AVI文件,但生成的AVI文件不能用Microsoft MEPG4 V2压缩,而是必须先经M-JPEG压缩后,才能压成MPEG4,有没生成的AVI可直接用M
- 一个函数没看懂请高手来指点一下!
- 请问 怎么改变Tab控件的背景色,
- 請問用UDP進行兩個人的通信時,是不是不用綁定套接字呀.只要知道對方IP和端口號就可以了吧~~
- 为何申请一段内存会出错?
- 大家是否遇到过类似的情况,真是奇怪!!??
- 如何编写一个交互式对话框?
- 驱动程序可以用VC写吗?
- 急,100分求助,请问采用CAdoRecordBing绑定类,如何增加记录AddNew
- <<windows程序设计》这本书怎么学啊
- 急,程序重起后就不能自动播放mp3了...
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_LBUTTONDOWN && pMsg->hwnd == m_wndStatusBar.GetSafeHwnd())
MessageBox("1");
return CFrameWnd::PreTranslateMessage(pMsg);
}
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_LBUTTONDOWN && pMsg->hwnd == m_wndStatusBar.GetSafeHwnd())
{
CRect rect;
CPoint pt;
pt=pMsg->pt;
m_wndStatusBar.GetItemRect(2,&rect);
m_wndStatusBar.ClientToScreen(&rect);
if(PtInRect(&rect,pt))
MessageBox("1");
}
return CFrameWnd::PreTranslateMessage(pMsg);
}