使用窗口+ D组合键恢复窗口时调用哪个事件 [英] Which event is called when a window is restored using window +D key combination

查看:73
本文介绍了使用窗口+ D组合键恢复窗口时调用哪个事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个基于对话框的应用程序,其中有一个主dlg和一个子对话框。子dlg是模态对话框。现在我想知道每当我按下窗口+ D恢复应用程序后使用相同窗口+ D最小化它时调用的事件。



简而言之,我是每当基于mfc的应用程序使用相同的组合键将其最小化后使用窗口+ D组合键恢复时,每次都会调用一个事件。



什么我试过了:



我试过OnActivateApp Onsize没什么用。

解决方案

WM\_SIZE消息| Microsoft Docs [ ^

Hi ,
I have a dialog based application in which there is a main dlg and a child dialog .The child dlg is modal dialog . Now I want to know the event which is called whenever I press window+D to restore the application after minimizing it using same window +D .

In short , I am looking for an event which is called everytime whenever the mfc based application is restored using window +D key combination after minimizing it using the same key combination.

What I have tried:

I tried OnActivateApp Onsize nothing works .

解决方案

WM\_SIZE message | Microsoft Docs[^]


这篇关于使用窗口+ D组合键恢复窗口时调用哪个事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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