Posted: Thu Dec 13, 2007 3:44 pm Post subject: (Hotkeys) Need Tut
hey anyone got a tut on how to hotkey my new ac, im still learning vb so im not sure tnx + heres the ac timer intervull is 3 just to let u know so u need to have fast reflexes cos it dont got hotkeys
The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.
_________________
Respect for: Coders, Anti Spoon feeders, nice people.
MapleHost
Better method is with GetAsyncKeyState.
make an inifinite loop(not good...make a Timer..) that will check for the key.
Exmaple for F10 HotKey(not sure):
Code:
While (1) { //Inifinite loop.
If (GetAsyncKeyState(VK_F10))
MessageBox(NULL, 'You clicked F10','Example',MB_OK);
}
Delphi
Make a new timer double click on it then type this:
Code:
procedure TMainForm.ACTimerTimer(Sender: TObject);
if Odd(GetAsyncKeyState(VK_F10)) then
ShowMessage('You Clicked F10!');
end;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum