home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,232 of 2,978   
   Ante Smolcic to All   
   Re: How can I change/remap keys from ins   
   14 Jan 05 11:18:29   
   
   XPost: comp.lang.pascal.delphi.misc, comp.lang.pascal.misc, borl   
   nd.public.delphi.winapi   
   XPost: comp.os.ms-windows.programmer.win32   
   From: spam@supersmola.net   
      
   In article ,   
   thaddy@replacethiswithmyfirstname.com says...   
   > You can not use messages, because you would fall back into the hook thus   
   > creating an endless loop.   
   > You should map the whole keyboard and xlat them into YOUR keyboad lay   
   > out ( do it just once when the hook is installed) and look up from the hook.   
   > The thins you need are the win32 api GetKeyboardstate and   
   > SetKeyboardstate. These use very easy to handle arrays so it isnt   
   > difficult at all   
      
   So if I want to create a global key re-mapping, what do you suggest when   
   to call these functions? On each KeyboardProc invocation?   
      
      
   --   
   Volume six, ha, ha, ha.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca