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
 
Back
Top