In article <eK2dnbQpjKEx7RPanZ2dnUVZ_oDinZ2d@[EMAIL PROTECTED]
>, Stephen J. Rush
<sjrush@[EMAIL PROTECTED]
>
says...
> On Wed, 16 Jan 2008 16:42:12 +0100, Jawade wrote:
>
> > How can I detect the ****ft, Control and Alt key in FreeBASIC 32-bit?
>
> The MultiKey(scancode) function re****ts the status of a given key.
> The scancodes you want are:
>
> Control: &h1D
> Left ****ft: &h2A
> Right ****ft: &h36
> Alt: &h38
>
> Note that the function returns TRUE (-1) if the key is pressed,
otherwise
> FALSE (0). I usually define those hex values as constants, to make the
> code easier to read: CONST CtrlKey = &h1D...
>
> This is all in the FreeBASIC manual. You should have the file
FB-manual-
> chm-12.dec.2007.chm. In Linux, you need a CHM viewer to read it; which
> one depends on your desktop environment. In any of the Debian-family
> distros, just do a Synaptic search on 'CHM viewer'.
I use Windows. Thanks for your answer, I'm busy now with a combination
from a regular key with Ctrl/****ft/Alt. But it's all clear now.
--
Met vriendelijke groeten, Jawade. Weer veel vernieuwd!
http://jawade.nl/
Met een mirror op http://jawade.fortunecity.com/
Bootmanager (+Vista), ClrMBR, DiskEditors, POP3lezer, Filebrowser,
Kalender, Webtellers en IP-log, Linux-Diskeditor, USB-stick tester


|