执行最小化所有操作时,如何防止最小化我的应用程序 [英] How can i prevent my app from been minimized when doing a minimize all action

查看:116
本文介绍了执行最小化所有操作时,如何防止最小化我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我想这样做,但是我找不到阻止此操作的方法

我在lparam中尝试了MIN_ALL的WM_COMMAND,但是Windows甚至没有发送WM_COMMAND,所以没有用.我该如何实现?

谢谢:sigh:

Hello, i want to do this but i can''t find the way of blocking this action

i try the WM_COMMAND with MIN_ALL in lparam but windows doesn''t even send the WM_COMMAND so is useless. how can i achieve this?

Thanks :sigh:

推荐答案

您可以处理WM_SIZE并规避此问题,但是我必须告诉您,用户会发现这非常令人讨厌.您永远不要搞乱默认的系统行为.
You can handle WM_SIZE and circumvent this, but I''ve got to tell you that users will find this incredibly annoying. You should NEVER mess with default system behavior.


这篇关于执行最小化所有操作时,如何防止最小化我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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