How can I detect with xp if a user loggs off / other user. The reason I'm asking this is because I want to make a program that sets my desktop to 1024x768 en for the other users to 800x600.

Thanks,

Walter