Gentee Programming Language > Documentation > Libraries Download documentation

sendvkey

Press a key alone or together with Shift, Ctrl, Alt.
 
uint sendvkey(
      ushort   vkey,
      uint   flag
)

Parameters

vkeyVirtual key code.
flagFlags for pressing additional keys.
$SVK_SHIFTShift is pressed.
$SVK_ALTAlt is pressed.
$SVK_CONTROLCtrl is pressed.

Return value

If error occurs, function returns 0.

See also

    Keyboard


 Copyright © 2004-2006 Gentee Inc. All rights reserved.