Thread: Checking if a window (by title!) exists?

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    70

    Checking if a window (by title!) exists?

    ...is it possible? Then I would like to close it. It's about IE browser windows (popups, sigh) in my case...

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    I think it's possible using FindWindow.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    70
    Nice.. I never figured WindowName was simply the titlebar! I thought it was only something used between system and the creator of the window, something I could not know about (like the window class name).

    I'll try to make a nice little close-by-caption utility. The ads that popup are nearly always the same, caused by applications rather than websites, so the browser's popup-blocking won't help...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. 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
  4. opengl help
    By heat511 in forum Game Programming
    Replies: 4
    Last Post: 04-05-2004, 01:08 AM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM