PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET notify icon and context menu not responding

Reply

notify icon and context menu not responding

 
Thread Tools Rate Thread
Old 05-07-2006, 04:55 PM   #1
=?Utf-8?B?TWlrZSBFYXRvbg==?=
Guest
 
Posts: n/a
Default notify icon and context menu not responding


Hi there,

I have an app whose structure is as follows: a module calls a custom
application context containing a notify icon and associated context menu,
which in turn acts upon an instance of another class, I'll call Class1 (i.e.
accesses its startup, shutdown, print reports methods).

Basically, Class1 manages communication between two other classes: one is a
class that listens for a socket connection from another application and the
other is a windows form that is shown to the user when data is received
through the socket connection. There's more to it than that really, but
that's the high-level version.

Here's the problem:

After the application runs for a while, the notify icon in the system tray
stops responding reliably. Normally, when you right click the icon, you get
a context menu with three items. After several minutes or sometimes after
the workstation is locked and unlocked, when you right-click on the notify
icon, the context menu doesn't come up- instead I get a 'shadow' of the
outline of the context menu but I'm not able to interact with it.

I've used this architecture before in other applications and never run into
this problem. However this time I'm using .NET framework 2.0 and wondering
if there's something I'm missing.

Has anyone else seen this 'shadowed' or outline behavior in a
notifyicon/contextmenustrip setup? I can post code if that would be helpful.

Thanks so much!
Mike
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off