470,870 Members | 1,467 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

Hotkey register is of no effect after ShowInTaskBar = false

I register a hotkey following this article:
Using windows api to archive it.
But when I use it as a part of my program(it would minimize to tray
before you call it), I found it doesn't work. Finally I found the
statement which cause it:
this.ShowInTaskbar = false;
Though I wrote "ShowInTaskbar = true" later in the program, but hotkey
didn't work anymore.And if I block it, hotkey is work well.
I have searched a lot, but no answer. I thought I must have
ShowInTaskbar remains because I have to minimize program when it
startup. I have no idea if there is another way to do so.

So I want to activate my application with global hotkey and let it stay
in the tray before I call it.


Feb 14 '06 #1
0 1696

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Claire | last post: by
3 posts views Thread by Rsrany | last post: by
4 posts views Thread by Mike | last post: by
3 posts views Thread by =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.