G
Guest
I have a non-UI assembly that contains a Form similar to the MSN Messenger
pop-up that appears when a user comes online. I have a Timer in this assembly
that on regular intervals goes and looks for new information and if it finds
any, displays the Form to the user right above the System Tray.
My problem is that the Form comes up alright, but it seems to not be getting
any Windows events like Paint and Click. Also, when I put my mouse over the
Form an hour-glass displays. I am assuming that there is a problem with the
Form being called from the Timer thread and have been trying to figure out a
solution with no luck. One note, I’m trying to design this assembly to be
called from a normal WinForms application and an application that starts in
the System Tray so it might or might not have a Form running. Any help would
be greatly appreciated! I’m done with this project except for this one
“major†problem.
Thanks,
David
=====================
David McCarter
www.vsdntips.com
pop-up that appears when a user comes online. I have a Timer in this assembly
that on regular intervals goes and looks for new information and if it finds
any, displays the Form to the user right above the System Tray.
My problem is that the Form comes up alright, but it seems to not be getting
any Windows events like Paint and Click. Also, when I put my mouse over the
Form an hour-glass displays. I am assuming that there is a problem with the
Form being called from the Timer thread and have been trying to figure out a
solution with no luck. One note, I’m trying to design this assembly to be
called from a normal WinForms application and an application that starts in
the System Tray so it might or might not have a Form running. Any help would
be greatly appreciated! I’m done with this project except for this one
“major†problem.
Thanks,
David
=====================
David McCarter
www.vsdntips.com