c++ - Proper Cleanup when using chained WndProcs - Stack …
https://stackoverflow.com/questions/67721983/proper-cleanup-when-using-chained-wndprocs
WebWndProc myWndProc(HANDLE hWnd, ...) return CallWndProc(oldProc); } This is just a rough pseudocode from the top of my head, so please don't focus on that. The problem with this, however, is, that when trying to remove myWndProc from the chain, like so: SetWindowLongPtr(hWnd, GWL_WNDPROC, oldProc);
DA: 83 PA: 48 MOZ Rank: 80