ControlShowDropDown (and probably ControlHideDropDown) not working.

Issue #61 closed
Winter Laite created an issue

Issue:

ControlShowDropDown does not work in test code below. It is suspected that this affects ControlHideDropDown as well.

steps to duplicate

Run code below.

Send("#r")  ; Open the Run dialog.
WinWaitActive("ahk_class #32770")  ; Wait for the dialog to appear.
ControlShowDropDown("ComboBox1")  ; Show the drop-down list. The second parameter is omitted so that the last found window is used.
Sleep(2000)
ControlHideDropDown("ComboBox1")  ; Hide the drop-down list.
Sleep(1000)
Send("{Esc}")  ; Close the Run dialog.

Comments (5)

  1. Log in to comment