{WM_NULL,"WM_NULL"},
{WM_CREATE,"WM_CREATE"},
{WM_DESTROY,"WM_DESTROY"},
{WM_MOVE,"WM_MOVE"},
{WM_SIZE,"WM_SIZE"},
{WM_ACTIVATE,"WM_ACTIVATE"},
{WM_SETFOCUS,"WM_SETFOCUS"},
{WM_KILLFOCUS,"WM_KILLFOCUS"},
{WM_ENABLE,"WM_ENABLE"},
{WM_SETREDRAW,"WM_SETREDRAW"},
{WM_SETTEXT,"WM_SETTEXT"},
{WM_GETTEXT,"WM_GETTEXT"},
{WM_GETTEXTLENGTH,"WM_GETTEXTLENGTH"},
{WM_PAINT,"WM_PAINT"},
{WM_CLOSE,"WM_CLOSE"},
{WM_QUERYENDSESSION,"WM_QUERYENDSESSION"},
{WM_QUIT,"WM_QUIT"},
後半部分全是波浪線
出錯提示:
1>e:\pjb\messagetip\messagetip\stdafx.h(71): error C2440: “初始化”: 無法從“const char [8]”轉換為“LPCTSTR”
1> 與指向的類型無關;轉換要求 reinterpret_cast、C 樣式轉換或函數樣式轉換
1>e:\pjb\messagetip\messagetip\stdafx.h(72): error C2440: “初始化”: 無法從“const char [10]”轉換為“LPCTSTR”
1> 與指向的類型無關;轉換要求 reinterpret_cast、C 樣式轉換或函數樣式轉換
1>e:\pjb\messagetip\messagetip\stdafx.h(73): error C2440: “初始化”: 無法從“const char [11]”轉換為“LPCTSTR”
1> 與指向的類型無關;轉換要求 reinterpret_cast、C 樣式轉換或函數樣式轉換
1>e:\pjb\messagetip\messagetip\stdafx.h(74): error C2440: “初始化”: 無法從“const char [8]”轉換為“LPCTSTR”
也可以在工程屬性裡禁用unicode