Sign in to follow this  
Followers 0

Label Disabling WM_KEYUP?

3 posts in this topic

#include <GUIConstants.au3>
Func _WM_KEYUP($hWndGUI, $MsgID, $WParam, $LParam)
    ConsoleWrite($MsgID & @TAB & $WParam & @CR)
### Koda GUI section start ###
Global $Form1 = GUICreate("AForm1", 623, 449, 193, 126)
;GUICtrlCreateLabel("ALabel1", 16, 24, 43, 17)
### Koda GUI section end   ###
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE

uncomment 'GUICtrlCreateLabel...' and _WM_KEYUP() will not be called (if you press a key)

but why?

is there another way to assign keys to a function?

(and i dont mean global hotkeys :D )

CoProc Multi Process Helper store your AutoIt related files here!AutoIt User Map

Share this post

Link to post
Share on other sites

This may or may not help, but I personally put functions under all of the main code (after whiles. etc.). I picked this up from the AutoIt gurus here; they do it. Maybe there's something more then organization to it? =/

Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite

Share this post

Link to post
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
Sign in to follow this  
Followers 0