--- np2/wince/np2.cpp 2003/12/05 19:42:03 1.5 +++ np2/wince/np2.cpp 2003/12/05 23:46:06 1.6 @@ -234,6 +234,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT case WM_MOVE: if (!(GetWindowLong(hWnd, GWL_STYLE) & (WS_MAXIMIZE | WS_MINIMIZE))) { + RECT rc; GetWindowRect(hWnd, &rc); np2oscfg.winx = rc.left; np2oscfg.winy = rc.top;