Counting windows

This is a discussion on Counting windows within the Windows Programming forums, part of the Platform Specific Boards category; I have an app which allows multiple instances.. each time I open the app, I want to dynamically allocate some ...

  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    26

    Counting windows

    I have an app which allows multiple instances.. each time I open the app, I want to dynamically allocate some storage for each already opened window.

    What is the best way to count how many are open? What about when their title text is different?

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,662
    What is the end result you are trying to accomplish?

    gg

  3. #3
    Registered User
    Join Date
    Jun 2004
    Posts
    26
    Each time I open a certain app, I want to know how many windows of this app are already opened.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21