Capture the 'F' in Ctrl+F
-
1 мая 2012 г. 18:02
Hi,
I am trying to capture the action when a user does a Ctrl+F in Windows Explorer for Win 7. First I check the pmsg->message == WM_KEYDOWN, then I use bool bCtrl = ((GetKeyState(VK_CONTROL) & 0x8000) != 0) to detect the Ctrl key, but I never receive the 'F' in pmsg->pRaram after that. Whereas, I could capture Ctrl+R, because the 'R' return properly. It works OK in Win XP. Is there a change in Win 7? Does anybody have any idea how I could capture the 'F' (virtual key code is 0x46) ? Thanks.
Phong
Все ответы
-
1 мая 2012 г. 18:08
This is a development question: since you're using the Windows API, I suggest you to ask this question in the General Windows Desktop Development Issues Forum at the following address
http://social.msdn.microsoft.com/Forums/en-us/windowsgeneraldevelopmentissues/threads
Luigi Bruno - Microsoft Community Contributor 2011 Award
- Помечено в качестве ответа Arthur XieMicrosoft Contingent Staff, Moderator 3 мая 2012 г. 3:02

