Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Start Button Keycode


Warconn
 Share

Recommended Posts

Hey so i was wondering what the Start button key code is. The start button is the button with the windows symbol on it. I have checked the keycodes for all the buttons, but i have not found this one anywhere. Does anyone here no what the keycode is?

Thanks
Warconn
Link to comment
Share on other sites

No, use it like this:

If GetAsyncKeyState ( LWin ) Then
    msgbox "Left Windows key was pressed!"
End If

I think, I dont use VB6 much.
Link to comment
Share on other sites

o alright, thanks, the adding it to the constants wasnt working, ill give this a shot.

Thanks

{EDIT}

i have this
```
If GetAsyncKeyState(0x5B) Then
    MsgBox "Left Windows key was pressed!"
End If

```
i have also tryed to have
```
VK_LWIN = 0x5B
VK_RWIN = 0x5C

```added above that code… but it didnt work, something with the X5B...
Link to comment
Share on other sites

Try 5B, VK_LWin, or just LWin in as the GetAsyncKeyState parameter. I haven't used that function for Vb6 in ages D:. Obviously its not the same as for C++, cause you would use the hex like I showed.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...