ezbroadcast
Programmer
Using the example in thread222-902639 or many other examples on this site, I seem to have a problem with my VB6 IDE closing when I exit my program that uses the following type of code to create a WM_MOUSEWHEEL hook:
LocalPrevWndProc = SetWindowLong(LocalHwnd, GWL_WNDPROC, AddressOf WindowProc)
Does anyone know how to get these examples to unhook "cleanly" so they don't generate this kind of behavior in the IDE?
LocalPrevWndProc = SetWindowLong(LocalHwnd, GWL_WNDPROC, AddressOf WindowProc)
Does anyone know how to get these examples to unhook "cleanly" so they don't generate this kind of behavior in the IDE?