How to Implement Shift+DoubleClick for a Tray VB App?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicebasic
    New Member
    • Aug 2010
    • 91

    How to Implement Shift+DoubleClick for a Tray VB App?

    I have written a program that can be minimized to the System Tray.

    I know how to invoke the program from Tray and cause it appear again with Double-Click.

    But I don't know how to cause the program to reappear from the System Tray only with Shift+DoubleCli ck.

    When I minimize a program to Tray, I can call its menu with Right-Click or I can Restore it with Double Click.

    In Visual Basic, we have access to Click and DoubleClick events. But for Double Click, we don't have Shift variable passed to the event. As a result, it's not possible for me to know whether the Shift Key has been pressed when Double Click occurs or not.

    Thank you in advance.
Working...