摘要:
一个将WM_*消息代码转换为字符串表示的函数:(打表法)#include <windows.h>struct WMArray { UINT Code; char Message[100];} waWMArray[] = { {0x0000, "WM_NULL"},{0x0001, "WM_CREATE"},{0x0002, "WM_DESTROY"},{0x0003, "WM_MOVE"}, {0x0005, "WM_SIZE"},{0x0006, "WM_ACTIVATE 阅读全文