Results 1 to 3 of 3

Thread: Is the "Window ID Number" the equivilent to Index #?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    25

    Post

    I noticed that the a certain 3rd party app is loading up everytime with childs that have there own "Window ID Numbers". Each "Window ID Number" is unique and each one is exactly the same no matter how many times I close or open the program. I know the parent's hWnd/Class name so it is possible to locate the specific Child by indicating the "Window ID Number"?

    If so how should my code look? I appreciate any info.
    Darkcloud

    P.S. This whole finding the hWnd thing would a lot easier if they where consistant instead of changing everytime the app is launched

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    You can evaluate the Title and Class Name of the window, it will USUALLY be unique (as long as the app doesn't keep changing the title, that is...)

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    25

    Post

    hmmm, thanks for the reply, but my questions still remain unanswered:

    1.) Is the "Window ID Number" the equivilent to Index #?

    2.) I know the parent's hWnd/Class name so is it possible to locate the specific Child by indicating the "Window ID Number"?

    3.) If so how should my code look?

    Darkcloud

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