版本比较
C++ WinAPI 入门
正文
增加 2 行删除 2 行
82 行未改动83848586878788899091141 行未改动全部展开233234235236237237238239240241105 行未改动全部展开82 行未改动 WS_OVERLAPPEDWINDOW|WS_VISIBLE, CW_USEDEFAULT,CW_USEDEFAULT, 600,600,NULL,NULL,hInstance,NULL );
MSG msg = {}; while(GetMessage(&msg,NULL,0,0)) { TranslateMessage(&msg); DispatchMessage(&msg);141 行未改动全部展开#include <windows.h>#include <tchar.h>
template<typename DERIVED_TYPE>class BaseWindow class BaseWindow{protected: HWND hwnd; virtual const wchar_t* ClassName() const { return L"Window"; }105 行未改动全部展开