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,230 of 2,978   
   Thaddy de Koning to Thaddy de Koning   
   Re: How can I change/remap keys from ins   
   14 Jan 05 09:21:21   
   
   XPost: comp.lang.pascal.delphi.misc, comp.lang.pascal.misc, borl   
   nd.public.delphi.winapi   
   XPost: comp.os.ms-windows.programmer.win32   
   From: thaddy@replacethiswithmyfirstname.com   
      
   Thaddy de Koning wrote:   
   > 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   
   And MapVirtualKey do do the mapping! sorry missed that part before posting   
      
   --- 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