|
|
| version 1.8, 2005/03/20 08:58:19 | version 1.9, 2007/01/08 08:52:22 |
|---|---|
| Line 106 LRESULT CALLBACK ViewProc(HWND hWnd, UIN | Line 106 LRESULT CALLBACK ViewProc(HWND hWnd, UIN |
| if (view) { | if (view) { |
| RECT rc; | RECT rc; |
| GetClientRect(hWnd, &rc); | GetClientRect(hWnd, &rc); |
| view->step = rc.bottom / 16; | view->step = (UINT16)(rc.bottom / 16); |
| viewcmn_setvscroll(hWnd, view); | viewcmn_setvscroll(hWnd, view); |
| } | } |
| break; | break; |