有相应的消息吗?
解决方案 »
- 再问:比如有很多控制命令,怎么用定时器发送,也是modbus协议的。有没有例子的?
- exe刻到光盘后运行不了
- 应用程序界面分辨率问题
- 关于CListCtrl控件的动态显示。
- 远程侵入是怎么弄的?
- ATL中使用CSocket的问题
- 在本机上编译好的dll在其它机器上使用需要重新编译!!实在找不到原因,郁闷...有相关经验的高手快请进,高分相送!
- 何谓钩子?能否简单解释其功能和用在何处?
- DELPHI 6 已经出来啦!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 请问:OnLButtonDown(UINT nFlags,CPoint point)中的point坐标为何不能转换成逻辑坐标?
- 我现在想学编程,我什么基础都没有,我该从哪个开始学?第一部学什么?第二步学什么?然后学什么?
- 我的vc++6。0出毛病了,真急死了。//
uCmdType = wParam; // type of system command requested
xPos = LOWORD(lParam); // horizontal postion, in screen coordinates
yPos = HIWORD(lParam); // vertical postion, in screen coordinates
其 中 uCmdType表 示 用 户 的 选 择 :
SC_CLOSE Closes the window.
SC_CONTEXTHELP Changes the cursor to a question with a pointer. If the user then clicks a control in the dialog box, the control receives a WM_HELP message.
SC_DEFAULT Selects the default item; the user double-clicked the System menu.
SC_HOTKEY Activates the window associated with the application-specified hot key. The low-order word of lParam identifies the window to activate.
SC_HSCROLL Scrolls horizontally.
SC_KEYMENU Retrieves the System menu as a result of a keystroke.
SC_MAXIMIZE (or SC_ZOOM) Maximizes the window.
SC_MINIMIZE (or SC_ICON) Minimizes the window.
SC_MONITORPOWER Windows 95 only: Sets the state of the display. This command supports devices that have power-saving features, such as a battery-powered personal computer.
SC_MOUSEMENU Retrieves the System menu as a result of a mouse click.
SC_MOVE Moves the window.
SC_NEXTWINDOW Moves to the next window.
SC_PREVWINDOW Moves to the previous window.
SC_RESTORE Restores the window to its normal position and size.
SC_SCREENSAVE Executes the screen saver application specified in the [boot] section of the SYSTEM.INI file.
SC_SIZE Sizes the window.
SC_TASKLIST Executes or activates Windows Task Manager.
SC_VSCROLL Scrolls vertically.