Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
ShortCut( Key1$[, Key2$] )

 Parameters
Key1, Key2 - Scancodes or a string describing certain keys ("CTRL", "F1" etc)
 Description
The ShortCut( ) function is an easy way of adding keyboard shortcuts to your application. To make things easier, several keys have been given string equivelants ("CTRL", "ALT", "SHIFT" are just a few of them)

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 10, 10, 200, 200, "Test Window" )
mylabel = Label( 5, 5, "Press ALT+Q to quit" )

Repeat
    UpdateGUI( )
    DrawMouse( )

    If ShortCut( "ALT", 16 ) = True
        app\Quit = True
    EndIf

    Flip
    Cls
Until app\Quit = True
Destroy( )
End