Solved Global Hotkeys

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

steb

Jr.Coder
Full Member
Nobleman
Aug 16, 2016
63
383
1
So I have been searching about global hotkeys for like an hour couldnt find any simple code for it.
any one could help me do it?

I want a toggle hotkey that works even if window form is not focused.
 

steb

Jr.Coder
Full Member
Nobleman
Aug 16, 2016
63
383
1
Rake;45519 said:
GetASyncKeyState
It doesnt work whenver I draw inside a window. what idid to make it work was I seperated the d3d drawing and the getasynckey. ( so there are two programs now)
The problem now is Icant update the d3d text.

 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,074
78,998
2,371
GetAsyncKeyState works, I think your logic is wrong
 

steb

Jr.Coder
Full Member
Nobleman
Aug 16, 2016
63
383
1
Rake;45525 said:
GetAsyncKeyState works, I think your logic is wrong
Right, so I got it to work with only one window form but

Whenever I press f1 the timer doesnt start. Putting the writeprocessmemory in the
if (f1 == true)
{
//here
}
Works but putting the timer.Start(); doesnt work.
my guess is my GUI timer is interupting system.window.forms.timer.
 
Last edited:
Status
Not open for further replies.
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods