Windows Message To String

If anyone needs a function to work out windows messages, try the attached text file, open it, copy & paste into your code and it should add a new method, if a message you’re looking for isn’t listed, let me know and I’ll add it.

https://www.dropbox.com/s/wveo3x39p8zkdnt/WindowsMessageToString.txt?dl=0

I tried to post the code straight into the forum which would have been nice for search, but >10000 characters aren’t allowed :frowning:

I saw your other post and it reminded me that I put together a module a while back after seeing this one. It consolidates windows message constants…
Sharing back in appreciation.

http://www.pidog.com/share/Win32_Constants.xojo_binary_project

I find it helpful in that it allows you to have autocomplete in a select case statement.

Nice one Jim, very handy.

I have removed the following from my list as they are duplicates, could you do the same as it causes a problem on compilation.

EM_CONVPOSITION
EM_OUTLINE
EM_GETSCROLLPOS
EM_SETSCROLLPOS
EM_SETFONTSIZE

Thanks