Jump to content

ControlClick vs ControlCommand(.*,"Check")

Recommended Posts

I have an internal software that had several radio button updates, and when specific values are selected of the 3 groups of radios, a button becomes enabled.  There was a change that now causes the apply button to not become enabled when setting the radio via ControlCommand(window,"",control,"Check").  What message is being sent to the window for this call?  I'm guessing that they are no longer listening for it.

Update: controlclick has the same results.  Going to look into controlsends.  It would be helpful to know the message sent from controlclick as well.

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to post
Share on other sites


ControlCommand(window,"",control,"Check") does PostMessageW with WM_LBUTTONDOWN and thenwith WM_LBUTTONUP
ControlClick("","","") does  SendMessageW with WM_LBUTTONDOWN and then with WM_LBUTTONUP



Edited by Danyfirex
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...