Thread: few basic window questions

  1. #1
    Registered User
    Join Date
    Dec 2004
    The Netherlands

    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
    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."

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++ Linking Error
    By Tronic in forum Windows Programming
    Replies: 2
    Last Post: 11-27-2004, 06: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