SetWinEventHook [modified]
-
I have SetWinEventHook for my MFC application, but the WinEventProc is not getting called?
g_hWinEvent = SetWinEventHook(EVENT_MIN, EVENT_MAX, NULL, (WINEVENTPROC)WinEventProc, GetCurrentProcessId(), GetWindowThreadProcessId(hWnd,0), WINEVENT_SKIPOWNPROCESS);
Thanks in advance, Abhishake Lahare. -
I have SetWinEventHook for my MFC application, but the WinEventProc is not getting called?
g_hWinEvent = SetWinEventHook(EVENT_MIN, EVENT_MAX, NULL, (WINEVENTPROC)WinEventProc, GetCurrentProcessId(), GetWindowThreadProcessId(hWnd,0), WINEVENT_SKIPOWNPROCESS);
Thanks in advance, Abhishake Lahare.