Thread: Close most active form on desktop

  1. #1
    Registered User
    Join Date
    Oct 2008

    Close most active form on desktop

    I am not sure if this question should be here but what I am searching and trying to do is if it possible to programatically close the most active window/form on the desktop. (This could be a form of another application)
    I am doing the code, using a form application.

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    I personally don't know how you would go about doing this at all - but it most certainly depends on your OS. Could you give us some details there?

    And why do you want to do this?

  3. #3
    Registered User
    Join Date
    Oct 2008
    Yes, I could understand that it was a bit diffus question. I use XP Professional.
    I am doing a "tricky" thing communicate between a program that I am doing and a thirdparty
    I am reading that programs files and act on these files, also using a mouse/keyboard recorder that communicate with that program. So this thirdparty programs window will be need to be closed to continue the process. I am completely aware about that this is not "good way" to do but I am experimenting around a bit and see if there was a call to close the most active form on the desktop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Active Desktop
    By andyhunter in forum Windows Programming
    Replies: 2
    Last Post: 12-07-2004, 08:30 AM
  2. Replies: 0
    Last Post: 06-26-2004, 05:59 PM
  3. active desktop
    By ober in forum Tech Board
    Replies: 10
    Last Post: 11-07-2003, 10:45 AM
  4. PHP / Active Desktop
    By Quantrizi in forum Tech Board
    Replies: 5
    Last Post: 08-08-2003, 05:15 PM
  5. Ghost in the CD Drive
    By Natase in forum A Brief History of
    Replies: 17
    Last Post: 10-12-2001, 05:38 PM