how to make hotkeys

View previous topic View next topic Go down

how to make hotkeys

Post  rob7601 on Fri Jan 29, 2010 2:59 am

you need 1 timer set to 150 intervals and enable it
Spoiler:
wright just above private sub form1_load or whatever

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer



wright this code for timer

Dim HotKey1 As Boolean
HotKey1 = GetAsyncKeyState(Keys.you key here)

If HotKey1 = True Then MessageBox.Show("Test message")

remember to say thanks if it helped
avatar
rob7601
Admin

Posts : 53
Join date : 2009-10-20
Age : 23

View user profile http://rebelgamers.darkbb.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum