LRESULT CALLBACK DrawMe(HWND, UINT, WPARAM, LPARAM);
SetWindowLong(hWnd, GWL_WNDPROC, (LONG) DrawMe);
LRESULT CALLBACK ScrollProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);//...fnOldScr[i] =(WNDPROC) SetWindowLong(hwndScrol[i], GWL_WNDPROC,(LONG) ScrollProc);//...
WNDPROC fnOldScr[3];
SetWindowsHookEx(WH_CALLWNDPROC,DrawMe,::AfxGetInstanceHandle(),0);