few basic window questions

This is a discussion on few basic window questions within the Windows Programming forums, part of the Platform Specific Boards category; hello all, I have a question. Does Windows Task Manager have a class id? When I use Spy++ I get ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Location
    The Netherlands
    Posts
    91

    few basic window questions

    hello all, I have a question.
    Does Windows Task Manager have a class id? When I use Spy++ I get "#32770 (Dialog)". Also Spy++ shows that window's HANDLE, is this handle an unique id that can be used for detecting window's? If so, whats a good function for finding a window hwnd via the HANDLE id?

    thanks & greets, apsync!

  2. #2
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    If you're trying to get the handle to a different application's window why not use the FindWindow or FindWindowEx functions? Pretty easy compared to messing with the handle's ID. If that's not your goal specify exactly what you're trying to accomplish.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Adding buttons, edit boxes, etc to the window
    By rainmanddw in forum Windows Programming
    Replies: 1
    Last Post: 04-10-2006, 03:07 PM
  2. Button positioning
    By Lionmane in forum Windows Programming
    Replies: 76
    Last Post: 10-21-2005, 05:22 AM
  3. Basic Window Creation, Dev C++ 4.9.9.0 Linking Error
    By Tronic in forum Windows Programming
    Replies: 2
    Last Post: 11-27-2004, 05:03 PM
  4. Adding colour & bmps to a Win 32 Window??
    By carey_sizer in forum Windows Programming
    Replies: 4
    Last Post: 09-04-2004, 05:55 PM

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