handling message on log-on
-
i want to handle the situation when someone logs in to the system. how do i do so? i know WM_ENDSESSION message is sent when the user logs out. but wat is the message when the user logs in....
Short of making your own msgina.dll, I know of no such message. Applications typically don't need to be notified when someone logs in, mainly because they probably aren't running. Services, however, might since they are running regardless of whether someone is logged in or not.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
i want to handle the situation when someone logs in to the system. how do i do so? i know WM_ENDSESSION message is sent when the user logs out. but wat is the message when the user logs in....
WM_STARTSESSION? :) Well, Google did give two interesting results (to the same article)... Bikram Singh I believe we should all pay our tax with a smile. I tried - but they wanted cash.