Overruling WH_CBT hook behaviour
C / C++ / MFC
1
Posts
1
Posters
1
Views
1
Watching
-
If I create a window, and I use the normal SetWindowsHook procedure like this:
SetWindowsHookEx(WH_CBT, (HOOKPROC)CBTProc, hInstance, NULL);
It does work on self defined windowclasses but it doesn't seem to work with normal controls, like buttons and so on. How can I overrule this? If not possible, can I make a button using a selfdefined windowclass which calls the button procedure on it's turn? LPCTSTR Dutch = TEXT("Double Dutch :-)");