win form里,我想使关闭按钮隐藏掉,使用user32.dll里的RemoveMenu或者是DeleteMenu,关闭按钮只是不起作用了,
但是没有被删除掉,我该怎么办呢?谢谢
Hi 小鱼我的世界,
如果你不介意同时隐藏掉最大化最小化按钮,你可以将Form的ControlBox属性设置为false。如果你仅仅只是想去掉关闭按钮,你可以尝试创建自定义的标题栏。
Easy Customize Title Bar
http://www.codeproject.com/Articles/42223/Easy-Customize-Title-Bar
Bob Shen MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.