471,306 Members | 1,203 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

How to hide form completely while using global hot key?(RegisterHotKey)

Hi, all

I'm developing an application that needs to pop up when the user
presses a global hot key. I followed instruction using Win32 API
RegisterHotKey. It works fine at first, but what's the strange is after
I used Form.ShowInTaskBar = false to hide form, the hot key didn't work
any more. I remove the line, then it works again.
I try the code in CodeProject SystemHotkey too, but failed. I add
Form.ShowInTaskBar = false in its example form, got the same result.
I want to know if there is a way to avoid use Form.ShowInTaskBar =
false to hide form completely, or another way of building a pop up app
with hot key.

Thanks.

Feb 18 '06 #1
0 2078

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by genetic.error | last post: by
reply views Thread by Mat | last post: by
1 post views Thread by Andre | last post: by
19 posts views Thread by dmiller23462 | last post: by
4 posts views Thread by Never Best | last post: by
2 posts views Thread by xfadeuk | last post: by
9 posts views Thread by kimiraikkonen | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.