锘??xml version="1.0" encoding="utf-8" standalone="yes"?>翔田千里一区,亚洲精品欧美精品,91蜜桃臀久久一区二区http://www.aygfsteel.com/zuroc/category/432.htmlzh-cnWed, 28 Feb 2007 12:31:35 GMTWed, 28 Feb 2007 12:31:35 GMT60WM_SYSCOMMAND璇存槑http://www.aygfsteel.com/zuroc/archive/2005/02/19/1327.htmlAK747AK747Sat, 19 Feb 2005 08:25:00 GMThttp://www.aygfsteel.com/zuroc/archive/2005/02/19/1327.htmlhttp://www.aygfsteel.com/zuroc/comments/1327.htmlhttp://www.aygfsteel.com/zuroc/archive/2005/02/19/1327.html#Feedback0http://www.aygfsteel.com/zuroc/comments/commentRss/1327.htmlhttp://www.aygfsteel.com/zuroc/services/trackbacks/1327.htmlWM_SYSCOMMAND Notification

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.

Syntax

WM_SYSCOMMAND

WPARAM wParam
LPARAM lParam;

Parameters

wParam
Specifies the type of system command requested. This parameter can be one of the following values.
SC_CLOSE
Closes the window.
SC_CONTEXTHELP
Changes the cursor to a question mark 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 window menu.
SC_HOTKEY
Activates the window associated with the application-specified hot key. The lParam parameter identifies the window to activate.
SC_HSCROLL
Scrolls horizontally.
SC_KEYMENU
Retrieves the window menu as a result of a keystroke. For more information, see the Remarks section.
SC_MAXIMIZE
Maximizes the window.
SC_MINIMIZE
Minimizes the window.
SC_MONITORPOWER
Sets the state of the display. This command supports devices that have power-saving features, such as a battery-powered personal computer.

The lParam parameter can have the following values:

1 - the display is going to low power

2 - the display is being shut off

SC_MOUSEMENU
Retrieves the window 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
Activates the Start menu.
SC_VSCROLL
Scrolls vertically.
lParam錛堜笢瑗胯鐐逛腑鏃剁殑榧犳爣浣嶇疆錛屼綆浣嶆槸鍏夋爣鐨刋杞村潗鏍囷紝楂樹綅鏄厜鏍囩殑Y杞村潗鏍?/i>錛?/i>
The low-order word specifies the horizontal position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse. Otherwise, this parameter is not used.

The high-order word specifies the vertical position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse. This parameter is 鈥? if the command is chosen using a system accelerator, or zero if using a mnemonic.



AK747 2005-02-19 16:25 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 万荣县| 承德市| 嘉善县| 铜山县| 黑水县| 宣威市| 固原市| 四川省| 浦东新区| 新沂市| 康马县| 修水县| 阿图什市| 韶山市| 多伦县| 团风县| 吴桥县| 松阳县| 景洪市| 北川| 东乡县| 长宁县| 凌海市| 台州市| 佛山市| 石棉县| 富民县| 屯门区| 裕民县| 尖扎县| 固原市| 昭通市| 正安县| 涟源市| 唐河县| 隆化县| 绥江县| 华安县| 锡林浩特市| 高要市| 南汇区|