Jump to content

More info on GUICtrlSendToDummy


Recommended Posts

I am still a beginner level in AutoIT.

I got stumped at first with how GUICtrlSendToDummy works in the following example on the GUICtrlCreateDummy info screen found at:

autoitscript.com/autoit3/docs/functions/GUICtrlCreateDummy.htm

Here is what I found out:

The "Dummy" control can NOT be seen, but it can store info and respond to requests.
When a  GUICtrlSendToDummy($idUser)  command is run, it effectively CLICKS the "Dummy" control.
When /  $idMsg = GUIGetMsg()  / is run right after the "Dummy" control is CLICKED, it stores the Controlid
in $idMsg just like when one of the regular buttons is clicked.
The Controlid for this "Dummy" control is "3".  
The Controlid number is assigned based on what order the control was created.

Link to comment
Share on other sites

1 hour ago, terry584 said:

I got stumped at first with how GUICtrlSendToDummy works in the following example on the GUICtrlCreateDummy info screen found at:

Are you saying that you are totally unstumped now, or is there still a residual stumpage you need help with?

Code hard, but don’t hard code...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...