Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

tkeys.h

Go to the documentation of this file.
00001 /*
00002  * tkeys.h
00003  *
00004  * Turbo Vision - Version 2.0
00005  *
00006  * Copyright (c) 1994 by Borland International
00007  * All Rights Reserved.
00008  *
00009  * Modified by Sergio Sigala <sergio@sigala.it>
00010  */
00011 
00012 #if !defined( __TKEYS_H )
00013 #define __TKEYS_H
00014 
00019 const ushort
00020 
00021 //  Control keys
00022 //
00023 //  NOTE: these Control key definitions are intended only to provide
00024 //  mnemonic names for the ASCII control codes.  They cannot be used
00025 //  to define menu hotkeys, etc., which require scan codes.
00026 
00027     kbCtrlA     = 0x0001,   kbCtrlB     = 0x0002,   kbCtrlC     = 0x0003,
00028     kbCtrlD     = 0x0004,   kbCtrlE     = 0x0005,   kbCtrlF     = 0x0006,
00029     kbCtrlG     = 0x0007,   kbCtrlH     = 0x0008,   kbCtrlI     = 0x0009,
00030     kbCtrlJ     = 0x000a,   kbCtrlK     = 0x000b,   kbCtrlL     = 0x000c,
00031     kbCtrlM     = 0x000d,   kbCtrlN     = 0x000e,   kbCtrlO     = 0x000f,
00032     kbCtrlP     = 0x0010,   kbCtrlQ     = 0x0011,   kbCtrlR     = 0x0012,
00033     kbCtrlS     = 0x0013,   kbCtrlT     = 0x0014,   kbCtrlU     = 0x0015,
00034     kbCtrlV     = 0x0016,   kbCtrlW     = 0x0017,   kbCtrlX     = 0x0018,
00035     kbCtrlY     = 0x0019,   kbCtrlZ     = 0x001a,
00036 
00037 // Extended key codes
00038 
00039     kbEsc       = 0x011b,   kbAltSpace  = 0x0200,   kbCtrlIns   = 0x0400,
00040     kbShiftIns  = 0x0500,   kbCtrlDel   = 0x0600,   kbShiftDel  = 0x0700,
00041     kbBack      = 0x0e08,   kbCtrlBack  = 0x0e7f,   kbShiftTab  = 0x0f00,
00042     kbTab       = 0x0f09,   kbAltQ      = 0x1000,   kbAltW      = 0x1100,
00043     kbAltE      = 0x1200,   kbAltR      = 0x1300,   kbAltT      = 0x1400,
00044     kbAltY      = 0x1500,   kbAltU      = 0x1600,   kbAltI      = 0x1700,
00045     kbAltO      = 0x1800,   kbAltP      = 0x1900,   kbCtrlEnter = 0x1c0a,
00046     kbEnter     = 0x1c0d,   kbAltA      = 0x1e00,   kbAltS      = 0x1f00,
00047     kbAltD      = 0x2000,   kbAltF      = 0x2100,   kbAltG      = 0x2200,
00048     kbAltH      = 0x2300,   kbAltJ      = 0x2400,   kbAltK      = 0x2500,
00049     kbAltL      = 0x2600,   kbAltZ      = 0x2c00,   kbAltX      = 0x2d00,
00050     kbAltC      = 0x2e00,   kbAltV      = 0x2f00,   kbAltB      = 0x3000,
00051     kbAltN      = 0x3100,   kbAltM      = 0x3200,   kbF1        = 0x3b00,
00052     kbF2        = 0x3c00,   kbF3        = 0x3d00,   kbF4        = 0x3e00,
00053     kbF5        = 0x3f00,   kbF6        = 0x4000,   kbF7        = 0x4100,
00054     kbF8        = 0x4200,   kbF9        = 0x4300,   kbF10       = 0x4400,
00055     kbHome      = 0x4700,   kbUp        = 0x4800,   kbPgUp      = 0x4900,
00056     kbGrayMinus = 0x4a2d,   kbLeft      = 0x4b00,   kbRight     = 0x4d00,
00057     kbGrayPlus  = 0x4e2b,   kbEnd       = 0x4f00,   kbDown      = 0x5000,
00058     kbPgDn      = 0x5100,   kbIns       = 0x5200,   kbDel       = 0x5300,
00059     kbShiftF1   = 0x5400,   kbShiftF2   = 0x5500,   kbShiftF3   = 0x5600,
00060     kbShiftF4   = 0x5700,   kbShiftF5   = 0x5800,   kbShiftF6   = 0x5900,
00061     kbShiftF7   = 0x5a00,   kbShiftF8   = 0x5b00,   kbShiftF9   = 0x5c00,
00062     kbShiftF10  = 0x5d00,   kbCtrlF1    = 0x5e00,   kbCtrlF2    = 0x5f00,
00063     kbCtrlF3    = 0x6000,   kbCtrlF4    = 0x6100,   kbCtrlF5    = 0x6200,
00064     kbCtrlF6    = 0x6300,   kbCtrlF7    = 0x6400,   kbCtrlF8    = 0x6500,
00065     kbCtrlF9    = 0x6600,   kbCtrlF10   = 0x6700,   kbAltF1     = 0x6800,
00066     kbAltF2     = 0x6900,   kbAltF3     = 0x6a00,   kbAltF4     = 0x6b00,
00067     kbAltF5     = 0x6c00,   kbAltF6     = 0x6d00,   kbAltF7     = 0x6e00,
00068     kbAltF8     = 0x6f00,   kbAltF9     = 0x7000,   kbAltF10    = 0x7100,
00069     kbCtrlPrtSc = 0x7200,   kbCtrlLeft  = 0x7300,   kbCtrlRight = 0x7400,
00070     kbCtrlEnd   = 0x7500,   kbCtrlPgDn  = 0x7600,   kbCtrlHome  = 0x7700,
00071     kbAlt1      = 0x7800,   kbAlt2      = 0x7900,   kbAlt3      = 0x7a00,
00072     kbAlt4      = 0x7b00,   kbAlt5      = 0x7c00,   kbAlt6      = 0x7d00,
00073     kbAlt7      = 0x7e00,   kbAlt8      = 0x7f00,   kbAlt9      = 0x8000,
00074     kbAlt0      = 0x8100,   kbAltMinus  = 0x8200,   kbAltEqual  = 0x8300,
00075     kbCtrlPgUp  = 0x8400,   kbAltBack   = 0x0800,   kbNoKey     = 0x0000,
00076 
00077 //  Keyboard state and shift masks
00078 
00079     kbLeftShift   = 0x0001,
00080     kbRightShift  = 0x0002,
00081     kbShift       = kbLeftShift | kbRightShift,
00082     kbLeftCtrl    = 0x0004,
00083     kbRightCtrl   = 0x0004,
00084     kbCtrlShift   = kbLeftCtrl | kbRightCtrl,
00085     kbLeftAlt     = 0x0008,
00086     kbRightAlt    = 0x0008,
00087     kbAltShift    = kbLeftAlt | kbRightAlt,
00088     kbScrollState = 0x0010,
00089     kbNumState    = 0x0020,
00090     kbCapsState   = 0x0040,
00091     kbInsState    = 0x0080;
00092 
00093 #endif  // __TKEYS_H

Generated at Sat Sep 22 20:19:12 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001