在SDI中隐藏工具栏 [英] Hiding toolbar in SDI

查看:91
本文介绍了在SDI中隐藏工具栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
一个琐碎的问题.初始化SDI应用程序时如何隐藏工具栏?
:-D

Hi everybody,
A trivial question. How can the toolbar be hidden on initialising the SDI app?
:-D

推荐答案

从样式传递中删除WS_VISIBLE样式常量,传递给对Create的调用.
Remove the WS_VISIBLE style constant from the styles passes to the call to Create.


将其Visible属性设置为false.您甚至可以在设计器中执行此操作,以便在应用程序启动时不可见.
Set its Visible property to false. You could even do it in the designer so that it is not visible when the application starts.


这篇关于在SDI中隐藏工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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