1 #define DECLARE_WND_SUPERCLASS(WndClassName, OrigWndClassName) 2 static ATL::CWndClassInfo& GetWndClassInfo() 3 { 4 static ATL::CWndClassInfo wc = 5 { 6 { sizeof(WNDCLASSEX), 0, StartWindowProc, 7 0, 0, NULL, NULL, NULL, NULL, NULL, WndClassName, NULL }, 8 OrigWndClassName, NULL, NULL, TRUE, 0, _T("") 9 }; 10 return wc; 11 }
时间: 2024-10-05 05:58:49