Knowing window procedure from handle
-
Hi, I want to hook the task bar for that I have used SetWindowHookEx() function in a DLL. But it it not working all times. I know the task manager handle using FindWindow() API. I want to catch the window procedure of the task bar using the task bar handle? how to do this please help me?
-
Hi, I want to hook the task bar for that I have used SetWindowHookEx() function in a DLL. But it it not working all times. I know the task manager handle using FindWindow() API. I want to catch the window procedure of the task bar using the task bar handle? how to do this please help me?
You can find this information using the
GetWindowInfo
function[^] to get the class reference of the window, and thenGetClassInfoEx
[^] to find the pointer to the Windows procedure.One of these days I'm going to think of a really clever signature.
-
Hi, I want to hook the task bar for that I have used SetWindowHookEx() function in a DLL. But it it not working all times. I know the task manager handle using FindWindow() API. I want to catch the window procedure of the task bar using the task bar handle? how to do this please help me?