By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,319 Members | 2,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,319 IT Pros & Developers. It's quick & easy.

Hotkeys stops working

P: n/a
I have a program that uses Hotkeys! And they works just fine!

I use this hotkeylib:
http://www.vbaccelerator.com/home/NE...FormLib_cs.asp

But my hotkeys suddenly stops working when i use this:

ShowInTaskbar = false;
And it only stops working when i use that! I use it to send the program to
tray! And when it's in tray i really want the hotkeys to work!

Can anyone tell me why this is happening?

Regards, Martin
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Martin Hjärtmyr wrote:
I have a program that uses Hotkeys! And they works just fine!

I use this hotkeylib:
http://www.vbaccelerator.com/home/NE...FormLib_cs.asp

But my hotkeys suddenly stops working when i use this:

ShowInTaskbar = false;
And it only stops working when i use that! I use it to send the program to
tray! And when it's in tray i really want the hotkeys to work!

Can anyone tell me why this is happening?


"ShowInTaskbar = false" triggers the recreation of the window handle
and the HotKey code above doesn't cope with that.

The library has to monitor the HandleCreated and HandleDestroyed
events of the form and reregister the shortcuts.

bye
Rob
Nov 16 '05 #2

P: n/a
Okay.. But how can I solve this then?

Regards, Martin

"Robert Jordan" <ro*****@gmx.net> wrote in message
news:ck*************@news.t-online.com...
Martin Hjärtmyr wrote:
I have a program that uses Hotkeys! And they works just fine!

I use this hotkeylib:
http://www.vbaccelerator.com/home/NE...FormLib_cs.asp

But my hotkeys suddenly stops working when i use this:

ShowInTaskbar = false;
And it only stops working when i use that! I use it to send the program
to tray! And when it's in tray i really want the hotkeys to work!

Can anyone tell me why this is happening?


"ShowInTaskbar = false" triggers the recreation of the window handle
and the HotKey code above doesn't cope with that.

The library has to monitor the HandleCreated and HandleDestroyed
events of the form and reregister the shortcuts.

bye
Rob

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.