Jump to content

Recommended Posts

Posted (edited)

So I'm working on an application and I've hot keyed all the numbers, and for some reason this particular combination doesn't work. All the other numbers with Ctrl+Shift work fine, and all other combinations of modifiers work with 0. Has anyone else encountered this? It's very strange. 

Guicreate('', 300, 300)
$button = GUICtrlCreateButton('Button', 0, 0)
Dim $accel = [ [ '^+0', $button ] ] 
GUIsetaccelerators($accel) 

Do
  $gm = guigetmsg() 
  If $gm = $button then msgbox(0,'','test')
Until $gm = - 3

Sorry for the ugly code, i typed this up on my phone. 😅

Edited by therks

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
×
×
  • Create New...