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.
After a little more indepth search I think I've found what I'm looking for.
http://www.codeguru.com/vb/gen/vb_system/keyboard/article.php/c4829/
http://vbnet.mvps.org/index.html?code/hooks/setwindowshookex.htm
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..
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.