DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Check if app is running, based on window handle

  1. #1
    Eric D. Burdo Guest

    Check if app is running, based on window handle

    I have the window handle of an application I launched. What API call(s) do I use to see
    if that window is still running?

    --

    Eric D. Burdo, Red-Leif International
    VB Programmer and Consultant
    <http://www.redleif.com/vb>

    *** Please reply to the newsgroup so all can benefit. ***





  2. #2
    Mattias Sjögren Guest

    Re: Check if app is running, based on window handle

    Eric,

    >I have the window handle of an application I launched. What API call(s) do I use to see
    >if that window is still running?


    The IsWindow function will tell you if the window handle you have is
    still valid, or if the window has been destroyed.


    Matt

    ============================================
    Mattias Sjögren - mattiass @ hem.passagen.se
    CodeHound - Free VB Search Engine
    http://www.codehound.com

  3. #3
    Mattias Sjögren Guest

    Re: Check if app is running, based on window handle

    Eric,

    >I have the window handle of an application I launched. What API call(s) do I use to see
    >if that window is still running?


    The IsWindow function will tell you if the window handle you have is
    still valid, or if the window has been destroyed.


    Matt

    ============================================
    Mattias Sjögren - mattiass @ hem.passagen.se
    CodeHound - Free VB Search Engine
    http://www.codehound.com

  4. #4
    Eric D. Burdo Guest

    Re: Check if app is running, based on window handle

    Thanx... After much banging of my head, I figured it out...

    --

    Eric D. Burdo, Red-Leif International
    VB Programmer and Consultant
    <http://www.redleif.com/vb>

    *** Please reply to the newsgroup so all can benefit. ***


    "Mattias Sjögren" <mattiass.dont.want.spam@hem.passagen.se> wrote in message
    news:3a22b694.46521244@news.devx.com...
    > Eric,
    >
    > >I have the window handle of an application I launched. What API call(s) do I use to

    see
    > >if that window is still running?

    >
    > The IsWindow function will tell you if the window handle you have is
    > still valid, or if the window has been destroyed.
    >
    >
    > Matt
    >
    > ============================================
    > Mattias Sjögren - mattiass @ hem.passagen.se
    > CodeHound - Free VB Search Engine
    > http://www.codehound.com




  5. #5
    Eric D. Burdo Guest

    Re: Check if app is running, based on window handle

    Thanx... After much banging of my head, I figured it out...

    --

    Eric D. Burdo, Red-Leif International
    VB Programmer and Consultant
    <http://www.redleif.com/vb>

    *** Please reply to the newsgroup so all can benefit. ***


    "Mattias Sjögren" <mattiass.dont.want.spam@hem.passagen.se> wrote in message
    news:3a22b694.46521244@news.devx.com...
    > Eric,
    >
    > >I have the window handle of an application I launched. What API call(s) do I use to

    see
    > >if that window is still running?

    >
    > The IsWindow function will tell you if the window handle you have is
    > still valid, or if the window has been destroyed.
    >
    >
    > Matt
    >
    > ============================================
    > Mattias Sjögren - mattiass @ hem.passagen.se
    > CodeHound - Free VB Search Engine
    > http://www.codehound.com




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center