STK X Send comments on this topic.
AgEShiftValues Enumeration
See Also  Example
Windows






Windows & Linux

Description

State of the Shift/Ctrl/Alt keys.

Members

Member Value Description
eShiftPressed 1 The Shift key was pressed.
eCtrlPressed 2 The Ctrl key was pressed.
eAltPressed 4 The ALT key was pressed.

Example

[Visual Basic .NET] Copy Code
Private Sub AxAgUiAx2DCntrl1_KeyUpEvent( _
                            ByVal sender As Object, _
                            ByVal e As AxAGI.STKX.IAgUiAx2DCntrlEvents_KeyUpEvent) _
                  Handles AxAgUiAx2DCntrl1.KeyUpEvent

    If (e.shift And AGI.STKX.AgEShiftValues.eAltPressed) <> 0 Then
        ...
    End If

End Sub
© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK Engine for UNIX 11.2