Delphi Window Message Daquan use detailed

Source: Internet
Author: User

Wm_ctlcolorstatic = $0138;
Sends this message to its parent window when a static control is about to be drawn; In response to this message, the owner window can set the text and background color of the static control by using the handle of the given related display device

Wm_mousefirst = $0200;
Wm_mousemove = $0200;
Move mouse
Wm_lbuttondown = $0201;
Press the left mouse button
Wm_lbuttonup = $0202;
Release left mouse button
WM_LBUTTONDBLCLK = $0203;
Double click left mouse button
Wm_rbuttondown = $0204;
Press the right mouse button
Wm_rbuttonup = $0205;
Release the right mouse button
WM_RBUTTONDBLCLK = $0206;
Double-click the right mouse button
Wm_mbuttondown = $0207;
Press the middle mouse button
Wm_mbuttonup = $0208;
Release middle mouse button
WM_MBUTTONDBLCLK = $0209;
Double-click the middle mouse button
WM_MouseWheel = $020a;
Sends this message when the mouse wheel is rotated a control that currently has focus
Wm_mouselast = $020a;
Wm_parentnotify = $0210;
When the MDI child window is created or destroyed, or the user presses the mouse button while the cursor is over the child window, the message is sent to its parent window

Wm_entermenuloop = $0211;
Send this message to notify the application of the main window that has entered the menu loop mode
Wm_exitmenuloop = $0212;
Send this message to notify the application of the main window that has exited the menu loop mode
Wm_nextmenu = $0213;
wm_sizing = 532;
This message is sent to the window when the user is resizing the window, and the message application can monitor the window size and position or modify them
wm_capturechanged = 533;
Send this message to the window when it loses the captured mouse;
wm_moving = 534;
When the user sends this message while the window is being moved, the message application can monitor the window size and position as well as modify them;
Wm_powerbroadcast = 536;
This message is sent to the application to notify it about power management events;
Wm_devicechange = 537;
Send this message to the application or device driver
Wm_ime_startcomposition = $010d When the hardware configuration of the device changes;
Wm_ime_endcomposition = $010e; 

wm_ime_composition = $010f;
Wm_ime_keylast = $010f;
Wm_ime_setcontext = $0281;
Wm_ime_notify = $0282;
Wm_ime_control = $0283;
Wm_ime_compositionfull = $0284;
Wm_ime_select = $0285;
Wm_ime_char = $0286;
Wm_ime_request = $0288;
Wm_ime_keydown = $0290;

Wm_ime_keyup = $0291;
Wm_mdicreate = $0220;
The application sends this message to a multi-document client window to create an MDI child window
Wm_mdidestroy = $0221;
The application sends this message to a multi-document client window to close an MDI child window
Wm_mdiactivate = $0222;
The application sends this message to the multi-document Customer window to notify the client window to activate another MDI child window, and when the client window receives this message, it issues a wm_mdiactive message to the MDI child window (not activated) to activate it;
Wm_mdirestore = $0223;
The program sends this message to the MDI client window to restore the child window to its original size from the maximum minimized
Wm_mdinext = $0224;
The program sends this message to the MDI client window to activate the next or previous window
Wm_mdimaximize = $0225;
The program sends this message to the MDI client window to maximize an MDI child window;
Wm_mditile = $0226;
The program sends this message to the MDI client window to re-arrange all MDI child windows in a tiled manner
Wm_mdicascade = $0227;
The program sends this message to the MDI client window to rearrange all MDI child windows in a cascade manner
Wm_mdiiconarrange = $0228;
The program sends this message to the MDI client window to rearrange all the minimized MDI child windows
Wm_mdigetactive = $0229;
The program sends this message to the MDI client window to find the handle to the active child window
Wm_mdisetmenu = $0230;
The program sends this message to the MDI client window using the MDI menu instead of the child window's menu
Wm_entersizemove = $0231;
Wm_exitsizemove = $0232;
Wm_dropfiles = $0233;
Wm_mdirefreshmenu = $0234;

Wm_mousehover = $02A1;
Wm_mouseleave = $02a3;
Wm_cut = $0300;
The program sends this message to an edit box or ComboBox to delete the currently selected text
Wm_copy = $0301;

The

program sends this message to an edit box or ComboBox to copy the currently selected text to the Clipboard
Wm_paste = $0302;
The program sends this message to the Editcontrol or ComboBox to get the data from the Clipboard
Wm_clear = $0303;
The program sends this message to Editcontrol or ComboBox to clear the currently selected content;
Wm_undo = $0304;
The program sends this message to the Editcontrol or ComboBox to undo the last action
Wm_renderformat = $0305;

Wm_renderallformats = $0306;
Wm_destroyclipboard = $0307;
Send this message to the owner of the Clipboard when the Enptyclipboard function is called
Wm_drawclipboard = $0308;
This message is sent to the Clipboard in the first window of the watch chain when the contents of the Clipboard change, and it allows the Clipboard to be viewed with a window to
Displays the new contents of the Clipboard;
Wm_paintclipboard = $0309;
When the Clipboard contains data in Cf_ownerdiplay format and the client area of the Clipboard Watch window needs to be redrawn;
Wm_vscrollclipboard = $030a;
Wm_sizeclipboard = $030b;
When the Clipboard contains data in cf_ownerdiplay format and the size of the client area of the Clipboard Watch window has changed, this message is sent to the Clipboard owner through the Clipboard Observation window;
Wm_askcbformatname = $030c;
Send this message through the Clipboard Watch window to the owner of the Clipboard to request a Cf_ownerdisplay-formatted clipboard name
Wm_changecbchain = $030d;
When a window is removed from the Clipboard watch chain, this message is sent to the first window of the Clipboard watch chain;
Wm_hscrollclipboard = $030e;
This message is sent to the owner of the Clipboard through a Clipboard observation window, which occurs when the Clipboard contains data in cfownerdispaly format and has an event on the horizontal scrollbar of the Clipboard view; the owner should scroll the clipboard image and update the scroll bar value;
Wm_querynewpalette = $030f;
This message is sent to the window that will receive the focus, which gives the window a chance to implement his logical palette when it receives the focus
Wm_paletteischanging= $0310;
Send this message to notify all applications when an application is about to implement its logical palette

http://blog.csdn.net/yanjiaye520/article/details/6652217

Delphi Window Message Daquan use detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.