Ignore:
Timestamp:
Oct 23, 2001, 1:17:18 AM (24 years ago)
Author:
phaller
Message:

added PM hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/HOOK.CPP

    r7154 r7155  
    1 /* $Id: HOOK.CPP,v 1.26 2001-10-22 17:00:58 phaller Exp $ */
     1/* $Id: HOOK.CPP,v 1.27 2001-10-22 23:14:32 phaller Exp $ */
    22
    33/*
     
    825825 
    826826  // check if alt is currently pressed
    827   BOOL fAltDown = GetKeyState(VK_LMENU);
     827  // Note: ALT seems to stick sometimes
     828  // BOOL fAltDown = GetKeyState(VK_LMENU);
     829  BOOL fAltDown = GetAsyncKeyState(VK_LMENU);
    828830 
    829831  kbhs.vkCode      = msg->wParam;
Note: See TracChangeset for help on using the changeset viewer.