{I+=codeWee;} |
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { // The code for handling other Windows messages has been omitted for clarity. // ... case WM_SIZE: { INT nWidth = LOWORD(lParam); INT nHeight = HIWORD(lParam); } break; } }