INF: Classifications of Messages Monitored by Spy

ID Number: Q68578

3.00

WINDOWS

Summary:

The Spy utility shipped with the Microsoft Windows Software

Development Kit (SDK) monitors messages sent to windows. When Spy's

Options! command is used, a dialog box presents nine categories of

messages. The information below lists the messages contained in each

category.

Note that some groups are a combination of two categories with the

word "AND" between them. This means that both categories must be

selected for the messages to be monitored.

More Information:

Two messages that are not monitored by Spy are documented in the

"Microsoft Windows Software Development Kit Reference Volume 1"

version 3.0:

WM_COMPACTING

WM_MDISETMENU

The remaining messages are contained in the following groups:

Clipboard

---------

WM_ASKCBFORMATNAME

WM_CHANGECBCHAIN

WM_CLEAR

WM_COPY

WM_CUT

WM_DESTROYCLIPBOARD

WM_DRAWCLIPBOARD

WM_HSCROLLCLIPBOARD

WM_PAINTCLIPBOARD

WM_PASTE

WM_RENDERALLFORMATS

WM_RENDERFORMAT

WM_SIZECLIPBOARD

WM_UNDO

WM_VSCROLLCLIPBOARD

DDE

---

WM_DDE_ACK

WM_DDE_ADVISE

WM_DDE_DATA

WM_DDE_EXECUTE

WM_DDE_INITIATE

WM_DDE_POKE

WM_DDE_REQUEST

WM_DDE_TERMINATE

WM_DDE_UNADVISE

Init

----

WM_INITDIALOG

WM_INITMENU

WM_INITMENUPOPUP

Input (See also Input AND Mouse, Input AND System.)

-----

WM_CHAR

WM_COMMAND

WM_DEADCHAR

WM_HSCROLL

WM_KEYDOWN

WM_KEYUP

WM_MENUCHAR

WM_MENUSELECT

WM_TIMER

WM_VSCROLL

Input AND Mouse

---------------

WM_LBUTTONDOWN

WM_LBUTTONUP

WM_LBUTTONDBLCLK

WM_MBUTTONDOWN

WM_MBUTTONUP

WM_MBUTTONDBLCLK

WM_MOUSEMOVE

WM_PARENTNOTIFY

WM_RBUTTONDOWN

WM_RBUTTONUP

WM_RBUTTONDBLCLK

Input AND System

----------------

WM_SYSCHAR

WM_SYSDEADCHAR

WM_SYSKEYDOWN

WM_SYSKEYUP

Mouse (See also Input AND Mouse, Non-Client AND Mouse.)

-----

WM_SETCURSOR

WM_MOUSEACTIVATE

Non-Client (See also Non-Client AND Mouse.)

----------

WM_NCACTIVATE

WM_NCCALCSIZE

WM_NCCREATE

WM_NCDESTROY

WM_NCPAINT

Non-Client AND Mouse

---------------------

WM_NCHITTEST

WM_NCLBUTTONDOWN

WM_NCLBUTTONUP

WM_NCLBUTTONDBLCLK

WM_NCMBUTTONDOWN

WM_NCMBUTTONUP

WM_NCMBUTTONDBLCLK

WM_NCMOUSEMOVE

WM_NCRBUTTONDOWN

WM_NCRBUTTONUP

WM_NCRBUTTONDBLCLK

Other

-----

WM_SPOOLERSTATUS

WM_USER (and all messages WM_USER+n, where "n" is an integer)

System (See also Input AND System.)

------

WM_DEVMODECHANGE

WM_ENDSESSION

WM_ENTERIDLE

WM_FONTCHANGE

WM_SYSCOLORCHANGE

WM_SYSCOMMAND

WM_TIMECHANGE

WM_WININICHANGE

Window

------

WM_ACTIVATE

WM_ACTIVATEAPP

WM_CANCELMODE

WM_CHARTOITEM

WM_CHILDACTIVATE

WM_CLOSE

WM_COMPAREITEM

WM_CREATE

WM_CTLCOLOR

WM_DELETEITEM

WM_DESTROY

WM_DRAWITEM

WM_ENABLE

WM_ERASEBKGND

WM_GETDLGCODE

WM_GETFONT

WM_GETMINMAXINFO

WM_GETTEXT

WM_GETTEXTLENGTH

WM_ICONERASEBKGND

WM_KILLFOCUS

WM_MDIACTIVATE

WM_MDICASCADE

WM_MDICREATE

WM_MDIDESTROY

WM_MDIGETACTIVE

WM_MDIICONARRANGE

WM_MDIMAXIMIZE

WM_MDINEXT

WM_MDIRESTORE

WM_MDITILE

WM_MEASUREITEM

WM_MOVE

WM_NEXTDLGCTL

WM_PAINT

WM_PAINTICON

WM_PALETTECHANGED

WM_QUERYDRAGICON

WM_QUERYENDSESSION

WM_QUERYNEWPALETTE

WM_QUERYOPEN

WM_QUIT

WM_SETFOCUS

WM_SETFONT

WM_SETREDRAW

WM_SETTEXT

WM_SHOWWINDOW

WM_SIZE

WM_VKEYTOITEM

Additional reference words: 3.00