jdelaney

ControlClick vs ControlCommand(.*,"Check")

2 posts in this topic

#1 ·  Posted (edited)

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi.


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

Saludos

 

Edited by Danyfirex
1 person likes this

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