Finally, an installment in the game dev. section! Click the link below to download wdw_msgs.cpp, a windows message to text function that is
will print the name of the window message sent to a window handler (think WM_PAINT style messages). The code can
readily modified to return the name of the message instead. Useful when trying to find out what window messages
your program is being sent based upon different events.
Download wdw_msgs.cpp