How can I make a hook program? A program that stay in sleep mode until something happend in windows (a message box, keypress.. anything) and if occours an event like a message box (or other thing.. we can change it) he do a certain function.