views:

16

answers:

0

Hey,

I am coding a program which uses a global hotkey registered via ManagedWinapi.Hotkey. This works fine. What I want to do is to show a contextmenustrip when this hotkey is pressed. I want this to work when the main form of my program is not focused. This works right, with the problem that an empty window appears in the taskbar each time the conetextmenu is invoked through the hotkey.

So, is there a way to avoid the contextmenustrip appearing in the taskbar?

This is C#, .NET 4.0, Win 7 Ultimate. Thanks!