-
Wow.. this is wierd
Alright.. my program clicks on buttons on another application, and when this other application generates a msgbox.. my program stops til I click yes or no.. like.. as if it was its own msgbox.. i dont know its wierd.. the msgbox in the application im working with makes the same sound a normal msgbox in VB does too.. not sure if that has anything to do with it. Basically my program clicks a button.. and then this msgbox comes up.. I want my program to click Yes.. but it cant because it stops lol
if I manually click the first button, my program can click yes.. but if my program clicks the first button, it stops when the msgbox comesup.. so wierd
-
Re: Wow.. this is wierd
hmm, if i use
Call SendMessageLong(tempButton, WM_LBUTTONDOWN, 0&, 0&)
Call SendMessageLong(tempButton, WM_LBUTTONUP, 0&, 0&)
it locks up when the msgbox comes up.. but if I just get my program to click on the coordinates of the button it works.. any reason why this is happening?
-
Re: Wow.. this is wierd
oops.. this probably should be in API.. sorry
-
Re: Wow.. this is wierd
I suggest you can create two projects one should click the first button. the second one should wait for the msgbox and then it should click the button in msgbox.
I hope this will solve your problem.