A window receives this message when the user chooses a command from the window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button.WM_SYSCOMMAND
uCmdType = wParam; // type of system command requested
xPos = LOWORD(lParam); // horizontal position, in screen coordinates
yPos = HIWORD(lParam); // vertical position, in screen coordinates
这是在MSDN上的说明,这三个参数怎么用?,为什么我用WM_SYSCOMMAND时不需要用它们?
uCmdType = wParam; // type of system command requested
xPos = LOWORD(lParam); // horizontal position, in screen coordinates
yPos = HIWORD(lParam); // vertical position, in screen coordinates
这是在MSDN上的说明,这三个参数怎么用?,为什么我用WM_SYSCOMMAND时不需要用它们?
解决方案 »
- CFile.Write如何写入float数据(其他非字符型数据)??
- COM/DCOM编程指南这本书谁有,想看看里面线程方面的
- 请问在多Frame页面中,如何捕获嵌入的Frame中页面元素的DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP事件?
- 求教:在DAO中如何得到更新的记录数
- 关于串口操作的问题,用API函数实现。在线等待。。。
- 求救,问一个QueryInterface的问题
- 问一个gdi+的问题,用DrawString函数来写一个字符串,在哪里设置字的质量啊,别人告诉我能设,可是我没有找到,在线等待!
- 地理位置之间距离的计算
- 同时有几台摄像头,请问如何找到我想要的摄像头的名称?详情请看...
- VC中求质心的函数
- 怎么搞的?
- 怎样设置EDIT
case WM_SYSCOMMAND:
switch (d)
{case 1:
MessageBox(NULL,_T("fasfas"),_T("FDFSF"),1);
break;
}