Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame
CWindowsMessageToString msgConverter; LPSTR lpszMsg = msgConverter.GetStringFromMsg( WM_COMMAND ); MessageBox( lpszMessage );This would pop up a messagebox that would say "WM_COMMAND".
I think this class will be useful when you have a function that is handling many messages like PreTranslateMsg. You can also pass 0 as the second parameter to GetStringFromMsg to prevent the function from returning strings for frequently send message.
Date Posted: 08/27/98