Jump to content
Sign in to follow this  
steveR

@GUI_ macros

Recommended Posts

@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 by steveR

AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.

Share this post


Link to post
Share on other sites

:(

@GUI_CtrlId
@GUI_CtrlHandle
@GUI_WINHANDLE

All 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 reproduce

Thanks

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...