Checking if a window (by title!) exists?

This is a discussion on Checking if a window (by title!) exists? within the Windows Programming forums, part of the Platform Specific Boards category; ...is it possible? Then I would like to close it. It's about IE browser windows (popups, sigh) in my case......

  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
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    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, 10: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, 06:55 PM
  4. opengl help
    By heat511 in forum Game Programming
    Replies: 4
    Last Post: 04-05-2004, 02:08 AM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM

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