如何禁用系统状态栏上的窗体显示 [英] How to disable the display of a window form on the system statusbar

查看:108
本文介绍了如何禁用系统状态栏上的窗体显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个窗口表单应用程序,在这个应用程序中它将创建一个带有

一般表单类型的对话窗口,并显示在屏幕上,现在的问题是:



1.通常,当应用程序执行时,屏幕底部的系统状态栏(或工具栏?)上会显示一个映射图标。

2。对于我的应用程序,我创建了一个带有表单类型的对话窗口,其映射图标也显示在系统状态栏上。

2.但是,我希望此对话窗口的图标不会显示在状态栏上。



请帮助为这个问题提供灵魂,谢谢。

解决方案



要在状态栏中停止显示应用程序标题的窗口,请将表单属性设置为



ShowInTaskBar = False



这是你可以直接在表单属性窗口中设置它。



但是如果你想显示标题o在任务栏但禁用图标,然后你可以访问user32.dll并禁用它。



问候

Jegan

I''ve a window form application, in this application it will create a dialogue window with
genral form type, and be displayed on screen, the question now is :

1. normally, when an application excutes, there is a mapping icon displayed on system statusbar (or toolpbar ?) at bottom edge of screen.
2. for my application, I create a dialogue window with form type, its mapping icon is also displayed on system statusbar.
2. however, I would like the icon of this dialogue window be not displayed on statusbar.

Please help to provide soultion for this issue, thanks.

解决方案

Hi,
To stop the windows showing the application title in the status bar you set form property as

"ShowInTaskBar = False"

This is you can set it directly on the form properties window.

BUT if you want to show the title on the task bar but disable the icon, then you have access the user32.dll and disable it.

Regards
Jegan


这篇关于如何禁用系统状态栏上的窗体显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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