Hmm...started to post, then computer crashed. Another code example, this time Foxpro.
> you may wish to prevent Windows from shutting down under certain > conditions, such as an import process not being complete. In that case, > you'd bind to the WM_POWERBROADCAST message and return > BROADCAST_QUERY_DENY if the shutdown should be halted. From: http://tinyurl.com/f96mw -- Michaelwagner ------------------------------------------------------------------------ Michaelwagner's Profile: http://forums.slimdevices.com/member.php?userid=428 View this thread: http://forums.slimdevices.com/showthread.php?t=22625 _______________________________________________ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss