typedef struct _twm
{
int id;
char* name;
} TWM;
TWM wm[]=
{
{ 0,"WM_NULL"},
{ 1,"WM_CREATE"},
{ 2,"WM_DESTROY"},
{ 3,"WM_MOVE"},
{ 5,"WM_SIZE"},
{ 6,"WM_ACTIVATE"},
{ 7,"WM_SETFOCUS"},
{ 8,"WM_KILLFOCUS"},
{ 10,"WM_ENABLE"},
{ 11,"WM_SETREDRAW"},
{ 12,"WM_SETTEXT"},
{ 13,"WM_GETTEXT"},
{ 14,"WM_GETTEXTLENGTH"},
{ 15,"WM_PAINT"},
{ 16,"WM_CLOSE"},
{ 17,"WM_QUERYENDSESSION"},
{ 18,"WM_QUIT"},
{ 19,"WM_QUERYOPEN"},
{ 20,"WM_ERASEBKGND"},
{ 21,"WM_SYSCOLORCHANGE"},
{ 22,"WM_ENDSESSION"},
{ 23,"WM_SYSTEMERROR"},
{ 24,"WM_SHOWWINDOW"},
{ 25,"WM_CTLCOLOR"},
{ 26,"WM_WININICHANGE"},
{ 26,"WM_SETTINGCHANGE"},
{ 27,"WM_DEVMODECHANGE"},
{ 28,"WM_ACTIVATEAPP"},
{ 29,"WM_FONTCHANGE"},
{ 30,"WM_TIMECHANGE"},
{ 31,"WM_CANCELMODE"},
{ 32,"WM_SETCURSOR"},
{ 33,"WM_MOUSEACTIVATE"},
{ 34,"WM_CHILDACTIVATE"},
{ 35,"WM_QUEUESYNC"},
{ 36,"WM_GETMINMAXINFO"},
{ 38,"WM_PAINTICON"},
{ 39,"WM_ICONERASEBKGND"},
{ 40,"WM_NEXTDLGCTL"},
{ 42