Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic General > Re: FreeBASIC 3...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 645 of 684
Post > Topic >>

Re: FreeBASIC 32-bit

by "Stephen J. Rush" <sjrush@[EMAIL PROTECTED] > Jan 16, 2008 at 03:01 PM

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'.
 




 7 Posts in Topic:
FreeBASIC 32-bit
Jawade <Henk_Jawade@[E  2008-01-16 16:42:12 
Re: FreeBASIC 32-bit
"Stephen J. Rush&quo  2008-01-16 15:01:32 
Re: FreeBASIC 32-bit
Jawade <Henk_Jawade@[E  2008-01-16 22:50:03 
Re: FreeBASIC 32-bit
Jawade <Henk_Jawade@[E  2008-01-16 22:57:39 
Re: FreeBASIC 32-bit
"Stephen J. Rush&quo  2008-01-17 01:42:41 
Re: FreeBASIC 32-bit
Jawade <Henk_Jawade@[E  2008-01-17 19:41:04 
Re: FreeBASIC 32-bit
Jawade <Henk_Jawade@[E  2008-01-17 21:57:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:25:46 CDT 2008.