Windows退出时在MFC应用程序中捕获退出 [英] catching exit in an mfc application while windows exits

查看:60
本文介绍了Windows退出时在MFC应用程序中捕获退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在mfc中具有exitInstance(或其他类似功能)方法,而Windows可能会退出(重新引导),因为可能没有此

I need to have the exitInstance(or another function like this) method in an mfc while windows exits(reboot) is it possible because can not have this

推荐答案

您可以订阅Windows系统事件. Google是您的朋友.

You can subscribe to Windows system events. Google is your friend.


这篇关于Windows退出时在MFC应用程序中捕获退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆