Where to find info about WM Windows Message codes?

Is this table of any help?

I'm not sure whether all Windows versions send all these message, but I'm pretty sure the codes aren't different between versions.


WM_PAINT = 0xf is a specific parameter for a certain method. those "codes" are usually needed with interlop stuff; using unmanaged core libraries such as user32 and kernel32.

You can find methods and their parameters like that on the site http://pinvoke.net.

For example, your example WM_PAINT is from User32.GetMessage

If you want a full list of specific WindowsMessage parameters; they can be found here.


You can find these in WinUser.h.

They cannot change between Windows versions (changing them would break binary compatibility with all Windows programs.