So I'm writing a personal program right now that basically I want it to help keep me from getting distracted when at school or work, essentially letting me only access the programs that I need when at those places.
My question is, whenever a program comes up in windows 7 that needs admin approval first, the request for approval comes up and locks out everything but that.
Would it be possible for me to do that with my program?
How would I access it?
If it can't be done in C++ but can be done in another language, what would it be?