| View previous topic :: View next topic |
| Author |
Message |
Krayzee Cheater
Reputation: 0
Joined: 25 Aug 2007 Posts: 25 Location: Satan's Server Room
|
Posted: Sun Sep 02, 2007 6:57 pm Post subject: Help in VB6 |
|
|
im still experimenting with VB6, and im trying to make a macro for Gunz, for button combinations when i press a certain key, i know how to use all the essential commands except what the command is for something along the lines of
IF <key> pressed
<key combination>
Else
<Nothing>
i need to know how to make a hotkey pretty much.
I also have Delphi if you think i should use that instead, but i dunno any commands for that.
thx in advance.
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Sep 02, 2007 6:59 pm Post subject: |
|
|
talk to my good friend skate4lifee and ask him. He knows how to do this for vb.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Krayzee Cheater
Reputation: 0
Joined: 25 Aug 2007 Posts: 25 Location: Satan's Server Room
|
Posted: Sun Sep 02, 2007 7:02 pm Post subject: |
|
|
| lol, i would pm him but it says "you need alot more posts before you can pm people" =P can you tell him for me?
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
|
| Back to top |
|
 |
Krayzee Cheater
Reputation: 0
Joined: 25 Aug 2007 Posts: 25 Location: Satan's Server Room
|
Posted: Mon Sep 03, 2007 4:53 am Post subject: |
|
|
| Code: | This function defines a system-wide hot key.
BOOL RegisterHotKey(
HWND hWnd,
int id,
UINT fsModifiers,
UINT vk
); |
ok i get all of it, but how do i find an address to use in "int id"?
|
|
| Back to top |
|
 |
Programmer Cheater
Reputation: 0
Joined: 02 Sep 2007 Posts: 48
|
Posted: Mon Sep 03, 2007 5:19 am Post subject: |
|
|
Cant you set a keyboard hook?
_________________
|
|
| Back to top |
|
 |
Krayzee Cheater
Reputation: 0
Joined: 25 Aug 2007 Posts: 25 Location: Satan's Server Room
|
Posted: Mon Sep 03, 2007 5:25 am Post subject: |
|
|
| umm im a newb at programming in general, so i dunno what ur talking about D:
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Mon Sep 03, 2007 9:59 am Post subject: |
|
|
holy hell, keyboard hooks in VB is as bad as doing GUI in binary
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
--Pillboi-- Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Mar 2007 Posts: 1383 Location: I don't understand the question. Is this a 1 to 10 thing?
|
Posted: Mon Sep 03, 2007 11:18 am Post subject: |
|
|
| hariharanmca wrote: | 1. Make Form Keypreview = True
2. In Form Key Down Event
| Code: | | If KeyCode = vbKeyF1 then Command1_Click |
|
[Off-topic] [I hate going off-topic, but hell]
How to program in binary:
_________________
Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair. |
|
| Back to top |
|
 |
|