View Full Version : Where to keep hotkeys?
K2Hacker
01-20-2008, 11:35 AM
I tried keeping hotkeys in a timer... I didn't work. Should I put the hotkeys in a loop? If so, what function should I put them in?
Bigxxx
01-20-2008, 11:49 AM
I know 1 way why it wont work ;)
you must put this code on top real top over all ;)
if (GetKeyState(VK_NUMPAD9) &1)
{
SetWindowPos(&this->wndTopMost,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
}
Then
if (GetKeyState(VK_RBUTTON) &1)
{
//Code here
}
Into a timer
K2Hacker
01-20-2008, 11:52 AM
I dont understand what you mean by top over all....
wr194t
01-20-2008, 11:55 AM
Here's an hotkey example:
case TIMERNAMEHERE:
{
if (GetKeyState(VK_SHIFT) &1)
Writelong(0xAddress, Value); <-- ON code
else
Writelong(0xAddress, Value); <-- OFF code
}
break;
K2Hacker
01-20-2008, 11:58 AM
Ooo I see :D
Thanks ^^
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.