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