News:

So the widespread use of emojis these days kinda makes forum smileys pointless, yeah?

Main Menu

[RESOLVED] Hotkeys

Started by wires, June 11, 2005, 10:04:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wires

Is there a better way to receive hotkeys in Broodwar such as F11 and stuff without using a timer?  Right now I'm using a timer which totally sucks.

wires


Blaze

Quote from: WiReS on June 11, 2005, 10:04:47 PM
Is there a better way to receive hotkeys in Broodwar such as F11 and stuff without using a timer?  Right now I'm using a timer which totally sucks.

Your timer can hook keypreses? Cool.  If you don't want to use a timer, you *COULD* use a do, Loop with a doevents in it..
And like a fool I believed myself, and thought I was somebody else...

wires

Yeah, warrior told me about the loop idea.  I decided not to do it.  I might however do it just to use on my WinME computer and use they Keyboard hook at my dad's.  *shrug*

My timer used GetAsyncKeyState() to get they hotkey from Broodwar.