Finding active window & kick the button

Discussion in 'AutoCAD' started by Nathan Taylor, Feb 3, 2004.

  1. Nathan Taylor, Feb 3, 2004
    #1
  2. Nathan Taylor

    Thomas Shang Guest

    Does anyone have any sample code on how to find through VB, an active window
    or message box with a button hightlighted from one application? what's the
    activeX module for doing that? I need to use VB program to press the
    "cancel" button on the active window to cancel the process rather than kill
    the whole applicaiton.

    Thanks,

    Thomas
     
    Thomas Shang, Feb 3, 2004
    #2
  3. Do a google for 'push the button'. Somewhere I ran across free source
    code to do it - it might have been at http://www.planet-source-code.com
    I will also look and see if I downloaded it.
    ___________________________
    Mike Tuersley
    CADalyst's AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Feb 4, 2004
    #3
  4. Nathan Taylor

    Thomas Shang Guest

    It helps anyway. But I need to customize the code in order to control the
    timing when I need to puch the button.

    Regards,

    Thomas
     
    Thomas Shang, Feb 4, 2004
    #4
  5. Nathan Taylor

    Thomas Shang Guest

    Hi Mike,

    Maybe I didn't locate the correct category. I can't find a useful code for
    this issue. If you happen to find the code, let me know.

    Many thanks,

    Thomas
     
    Thomas Shang, Feb 5, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.