Window classes

This is a discussion on Window classes within the Windows Programming forums, part of the Platform Specific Boards category; Is there a way to get and display *all* windows and the class they were created from?...

  1. #1
    Unregistered
    Guest

    Window classes

    Is there a way to get and display *all* windows and the class they were created from?

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    You can see the Classes for the windows you have opened using Microsoft's Spy++. I am not sure where I got it though.

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    Spy++ Comes with Microsoft Visual Studio
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Spy++ is one of the coolest toys around........Its a total diamond!!!

    If you want to do this in your own app....do the following


    EnumWindows() - get a HWND to all open windows

    GetClassName() - then call this to get each class name

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 07:14 AM
  2. Capture Window
    By lord mazdak in forum Windows Programming
    Replies: 0
    Last Post: 04-09-2007, 08:51 AM
  3. Fixed window size
    By The Brain in forum Windows Programming
    Replies: 5
    Last Post: 02-23-2006, 02:07 PM
  4. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM
  5. my wndProc is out of scope
    By Raison in forum Windows Programming
    Replies: 35
    Last Post: 06-25-2004, 07:23 AM

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