Results 1 to 6 of 6

Thread: To get windows title

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Posts
    94

    To get windows title

    I want to write a code which when executed gives me title of all opened windows one by one. so that i can check title of each window.

  2. #2
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176

    Re: To get windows title

    There are loads of window open posts. Check the API section
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: To get windows title

    Look for EnumWindows.

    [shameless plug] Alternatively, you could check out my CWindows+CWindow classes in the Codebank, CWindows encapsulates EnumWindows as a collection of all open windows at, which you can enumerate using For Each to get a CWindow object for each window, and then get its title using .Caption on that Link here [/shameless plug]






    Edit: Fixed end plug tag - Hack
    Last edited by Hack; Oct 19th, 2005 at 10:06 AM.

  4. #4
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: To get windows title


  5. #5

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Posts
    94

    Re: To get windows title

    Thanks a lot Penagate,Moeur and BodWadUK

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: To get windows title

    No worries, glad to help

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