SetWindowLong(hWnd, GWL_WNDPROC, (LONG)newProc);where newProc is a new handler.SetWindowLong() will return the address of the previous handler, which must be converted to WNDPROC and called from the new window procedure instead of DefWindowProc() . - ฿฿฿ค฿
SetWindowLong(hWnd, GWL_WNDPROC, (LONG)newProc);wherenewProcis a new handler.SetWindowLong()will return the address of the previous handler, which must be converted toWNDPROCand called from the new window procedure instead ofDefWindowProc(). - ฿฿฿ค฿