Right - What I want to do should be really simple, but I just can't fathom it out!
I want to make my program do one thing if I PRESS AND HOLD a key down, and do another thing if I just press the key ONCE.
All I can get so far is it to do the hold (i.e. keydown) action, but then followed by the press (i.e. keyup) action. Any ideas?
If it helps, think of it like a CD player - press forward/back to skip tracks, hold the forward/back and you scan through the current track.
------------------
Cheers,
Steve
"Life is what we make of it, yet most of us just fake"
[This message has been edited by SteveC (edited 20 March 2001).]
I want to make my program do one thing if I PRESS AND HOLD a key down, and do another thing if I just press the key ONCE.
All I can get so far is it to do the hold (i.e. keydown) action, but then followed by the press (i.e. keyup) action. Any ideas?
If it helps, think of it like a CD player - press forward/back to skip tracks, hold the forward/back and you scan through the current track.
------------------
Cheers,
Steve
"Life is what we make of it, yet most of us just fake"
[This message has been edited by SteveC (edited 20 March 2001).]
Comment