Hotkeys stops working

  • Thread starter Thread starter Martin Hjärtmyr
  • Start date Start date
Martin said:
I have a program that uses Hotkeys! And they works just fine!

I use this hotkeylib:
http://www.vbaccelerator.com/home/N...ip_HotKeyForm_HotKeyForm_HotKeyFormLib_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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top