托盘图标问题 [英] Tray Icon Problem

查看:62
本文介绍了托盘图标问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我有一张带托盘图标的表格。但是,当我最小化表单时,它会保持可见 - 不在任务栏中(我有showintaskbar属性设置

为false),但是以矩形的形式坐在任务栏上方。

无法弄清楚为什么会这样 - 它看起来很丑......


有什么想法吗?


Zeljko

解决方案

当你最小化表格时,你还必须将Visible属性设置为false


this.Visible = false;

HTH

Brian W

" Zeljko" < TR ******* @ yahoo.com>在留言中写道

新闻:0d ******************************** @ 4ax.com ...



我有一个带有托盘图标的表单。但是,当我最小化表单时,它会保持可见 - 不在任务栏中(我将showintaskbar属性设置为false),而是以任务栏上方的矩形形式显示。不知道为什么会这样 - 它看起来很丑......

任何想法?

Zeljko



但如果我这样做,我再也看不到托盘图标了,再也无法最大化

表格?


Zeljko

On Tue,2003年11月18日08:23:23 -0800,Brian W

< brianw@gold_death_2_spam_rush.com>写道:

当你最小化表格时,你还必须将Visible属性设置为false

this.Visible = false;

HTH
Brian W

" Zeljko" < TR ******* @ yahoo.com>在消息中写道
新闻:0d ******************************** @ 4ax.com .. < blockquote class =post_quotes>

我有一个带有托盘图标的表单。但是,当我最小化表单时,它会保持可见 - 不在任务栏中(我将showintaskbar属性设置为false),而是以任务栏上方的矩形形式显示。不知道为什么会这样 - 它看起来很丑......

任何想法?

Zeljko



不,它不会,托盘图标仍然可见。你试过吗?


你可以恢复表格以响应点击图标。


" Zeljko" < TR ******* @ yahoo.com>在消息中写道

news:nh ******************************** @ 4ax.com ...

但是,如果我这样做,我再也看不到托盘图标了,再也无法最大化
形式了?

Zeljko
On Tue,2003年11月18日08:23:23 -0800,Brian W
< brianw@gold_death_2_spam_rush.com>写道:

当你最小化表格时,你还必须将Visible属性设置为
false
this.Visible = false;

HTH
Brian W

" Zeljko" < TR ******* @ yahoo.com>在消息中写道
新闻:0d ******************************** @ 4ax.com .. < blockquote class =post_quotes>

我有一个带有托盘图标的表单。但是,当我最小化表单时,它会保持可见 - 不在任务栏中(我将showintaskbar属性设置为false),而是以任务栏上方的矩形形式显示。 />无法弄清楚为什么会这样 - 它看起来很难看......

任何想法?

Zeljko



Hi,

I have a form with a tray icon. However, when I minimize the form, it
stays visible - not in the task bar (I have showintaskbar property set
to false), but in a form of a rectangle sitting above the task bar.
Can''t figure out why that happens - it looks very ugly...

Any ideas ?

Zeljko

解决方案

When you minimize the form you must also set the Visible property to false

this.Visible = false;
HTH
Brian W
"Zeljko" <tr*******@yahoo.com> wrote in message
news:0d********************************@4ax.com...

Hi,

I have a form with a tray icon. However, when I minimize the form, it
stays visible - not in the task bar (I have showintaskbar property set
to false), but in a form of a rectangle sitting above the task bar.
Can''t figure out why that happens - it looks very ugly...

Any ideas ?

Zeljko



But If I do that, I don''t see tray icon anymore and can''t maximize the
form again ?

Zeljko
On Tue, 18 Nov 2003 08:23:23 -0800, "Brian W"
<brianw@gold_death_2_spam_rush.com> wrote:

When you minimize the form you must also set the Visible property to false

this.Visible = false;
HTH
Brian W
"Zeljko" <tr*******@yahoo.com> wrote in message
news:0d********************************@4ax.com.. .

Hi,

I have a form with a tray icon. However, when I minimize the form, it
stays visible - not in the task bar (I have showintaskbar property set
to false), but in a form of a rectangle sitting above the task bar.
Can''t figure out why that happens - it looks very ugly...

Any ideas ?

Zeljko




No, it won''t, the tray icon remains visible. Have you tried?

You restore the form in response to a click on the icon.

"Zeljko" <tr*******@yahoo.com> wrote in message
news:nh********************************@4ax.com...

But If I do that, I don''t see tray icon anymore and can''t maximize the
form again ?

Zeljko
On Tue, 18 Nov 2003 08:23:23 -0800, "Brian W"
<brianw@gold_death_2_spam_rush.com> wrote:

When you minimize the form you must also set the Visible property to false
this.Visible = false;
HTH
Brian W
"Zeljko" <tr*******@yahoo.com> wrote in message
news:0d********************************@4ax.com.. .

Hi,

I have a form with a tray icon. However, when I minimize the form, it
stays visible - not in the task bar (I have showintaskbar property set
to false), but in a form of a rectangle sitting above the task bar.
Can''t figure out why that happens - it looks very ugly...

Any ideas ?

Zeljko



这篇关于托盘图标问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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