-
How can I detect if a new program is loaded ???
I make a program to see all the openned APP in windows..
For the moment, I make a timer whit the code in...
the timer refresh the list but each time, the computer load a lot ...
so if I have a code to only refresh the list when a program is openned/closed, It will help me a lot
-
if you want to have your list refresh everytime a program is opened or closed, its the same thing as saying you're in a house with 2 rooms:
[code]
________________
| |
| |
| . | |
| | |
the openenings are the doors and the dot is you. its like saying that you want to go into the other room only when the door to the outside is open, but you can't see if its open just by standing there, you'll have to go and check to see if its open.
in other words... you need to keep refreshing (or in my example, keep checking)