Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# and Arrow Keys

protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
    bool shiftPressed = (keyData & Keys.Shift) != 0;
    Keys unmodifiedKey = (keyData & Keys.KeyCode);

    // rest of code goes here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Arrow #Keys
ADD COMMENT
Topic
Name
4+3 =