diff --git a/src/win32screen.c b/src/win32screen.c index 1e3c1cd5..f38dbcac 100644 --- a/src/win32screen.c +++ b/src/win32screen.c @@ -67,6 +67,9 @@ static LRESULT CALLBACK Win32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP { switch(uMsg) { + case WM_NCHITTEST: + // send to test in which part of the windows the coordinates are + break; case WM_CREATE: break; case WM_SIZE: @@ -76,6 +79,9 @@ static LRESULT CALLBACK Win32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP case WM_CLOSE: Quit_is_required = 1; break; + case WM_ERASEBKGND: + // the background should be erased + break; case WM_PAINT: Win32_Repaint(hwnd); return 0;