mIRC Homepage
Posted By: FroggieDaFrog on keydown - 22/04/10 02:59 AM
in a keydown event, is there a way to check if the key was pressed while the ctrl key was being held. (I'm trying to do things when ctrl+uparrow and ctrl+downarrow are pressed) in an @picwin
Posted By: genius_at_work Re: on keydown - 22/04/10 03:27 AM
I don't recall that there is an identifier to tell if CTRL was being held or not. However, using the keydown and keyup events, and the $keyval and $keyrpt identifiers, you should be able to manually track whether CTRL was held or not.

-genius_at_work
Posted By: FroggieDaFrog Re: on keydown - 22/04/10 03:29 AM
Yea, that's what I'm thinking, but it's alot of code compared to just having an identifer (feature request here I come)
Posted By: FroggieDaFrog Re: on keydown - 22/04/10 04:11 AM
$mouse.key worx, curtisy of to someone(can't remember his name) in the new features request forum
© mIRC Discussion Forums