Results 1 to 4 of 4

Thread: Wow.. this is wierd

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Posts
    399

    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

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Posts
    399

    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?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Posts
    399

    Re: Wow.. this is wierd

    oops.. this probably should be in API.. sorry

  4. #4
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width