PDA

View Full Version : Windows Message To String Converstion function



Useless Hacker
23-01-2004, 12:01 AM
Does anyone have a (Delphi) function for converting a Windows message code (e.g. WM_CREATE) to a string for logging purposes?

gaze
18-01-2005, 11:06 PM
hi there,

i don't think there is a function for converting window messages to strings, but you could create one yourself from the messages.pas file.

Lightning
19-01-2005, 10:00 AM
Lazarus has a verrrry long one, you can't translate integer constants to strings, you have to make a big case.