G
Guest
I want to insert a 'general' message filter into a .NET application that will
intercept button presses. IMessageFilter cannot be used because it only
intercepts posted messages. So I override WndProc and filter on WM_COMMAND
messages to detect button presses in the application. However the button
presses are not being detected in my app. I have modified the app to have
just one button on it and used spy++ to see what messages the button press
generates. But nothing ! Any ideas ?
intercept button presses. IMessageFilter cannot be used because it only
intercepts posted messages. So I override WndProc and filter on WM_COMMAND
messages to detect button presses in the application. However the button
presses are not being detected in my app. I have modified the app to have
just one button on it and used spy++ to see what messages the button press
generates. But nothing ! Any ideas ?