如何隐藏excel关闭按钮? [英] How to hide the excel close button?

查看:268
本文介绍了如何隐藏excel关闭按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用interop c#处理Excel应用程序。我必须隐藏整个标题栏或只关闭关闭按钮。



我尝试过:



我已尝试过以下链接中的所有内容。



是否可以隐藏Excel标题栏? [ ^ ]

I am working with the Excel application using interop c#. I have to hide the entire title bar or only the close button.

What I have tried:

I have tried everything from the below link.

Is it possible to hide the Excel Title Bar?[^]

推荐答案

假设你可以隐藏关闭按钮,我仍然可以按住Ctrl + f4,从文件菜单中选择退出,使用任务管理器,可能还有其他100种关闭应用程序的方法。



您无法启动客户无法关闭的应用程序,这将是一件令人难以置信的烦恼和垃圾邮件的事情。
Let's say you can hide the close button, I can still ctrl+f4, chose Exit from the file menu, use task manager, and probably 100 other ways to close the app.

You can't launch apps that the clients can't close, it would be an incredibly irritating and spammy thing to do.


这篇关于如何隐藏excel关闭按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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