AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile
Did anyone try to intercept Windows' messages WM_QUERYENDSESSION and WM_ENDSESSION? Thanks in advance Boris
I have trapped WM_QUERYENDSESSION on a top level form without problems - it fires the VB QueryUnload() event, but haven't tried the other... HTH, Duncan ____________________________ --8<------------------------------ Free components and source code - see http://www.merrioncomputing.com/Download/index.htm for details