steveR Posted May 3, 2005 Share Posted May 3, 2005 (edited) @GUI_CtrlId @GUI_CtrlHandle @GUI_WINHANDLE All come up as 'Unknown macros' with beta v3.1.1.20 #include <guiconstants.au3> GUICreate("test") $btn = GUICtrlCreateButton("test", 10, 10) GUISetState() Do $msg = GUIGetMsg() Select Case $msg = $btn _btn() EndSelect Until $msg = $gui_event_close Func _btn() MsgBox(0, "test", @GUI_WinHandle) MsgBox(0, "test", @GUI_CtrlId) MsgBox(0, "test", @GUI_CtrlHandle) EndFunc ;==>_btn Edited May 3, 2005 by steveR AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass. Link to comment Share on other sites More sharing options...
jpm Posted May 3, 2005 Share Posted May 3, 2005 @GUI_CtrlId @GUI_CtrlHandle @GUI_WINHANDLEAll come up as 'Unknown macros' with beta v3.1.1.20<{POST_SNAPBACK}>They are defined dynamically. So where the message does popup. add a script which reproduceThanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now