Отвечено 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

Все ответы