Kenneth Keeley
2006-01-11 05:08:25 UTC
Hi,
I wish to create a program that runs on multiple pc's that are networked
that when launched it places a icon in the system tray and then displays the
main user window. I want the system tray icon part of the program to look
after the network chatting between the different computers. I then want the
user to be able to close the main program window but have the system tray
icon remain running and still chatting with the other computers. I would
then like the user to be able to re-open the main user window by either
double clicking on the system tray icon or by clicking on the normal program
shortcut as would have been done the first time the program was launched. I
want to have only one copy of the program running on a computer at any one
time. The user should have to select a special close/shutdown option from
the program menu or system tray icon menu to get the program to close fully
and remove the system tray icon. Clicking the X in the top corner of the
main window should only close the main window not the whole program. A
sample of this behavour would may be a virus scanner or the download manager
GetRight. I can already do the networking part along with creating the
system tray icon, I have also found a way of making sure only one copy of
the program is running. What I would like are some samples of how to make
the main program window display and close with closeing the system tray
icon, how to make it that when the second copy of the program is launched
that all it does is reopen the main window.
Thanks for any help.
Kenneth Keeley
I wish to create a program that runs on multiple pc's that are networked
that when launched it places a icon in the system tray and then displays the
main user window. I want the system tray icon part of the program to look
after the network chatting between the different computers. I then want the
user to be able to close the main program window but have the system tray
icon remain running and still chatting with the other computers. I would
then like the user to be able to re-open the main user window by either
double clicking on the system tray icon or by clicking on the normal program
shortcut as would have been done the first time the program was launched. I
want to have only one copy of the program running on a computer at any one
time. The user should have to select a special close/shutdown option from
the program menu or system tray icon menu to get the program to close fully
and remove the system tray icon. Clicking the X in the top corner of the
main window should only close the main window not the whole program. A
sample of this behavour would may be a virus scanner or the download manager
GetRight. I can already do the networking part along with creating the
system tray icon, I have also found a way of making sure only one copy of
the program is running. What I would like are some samples of how to make
the main program window display and close with closeing the system tray
icon, how to make it that when the second copy of the program is launched
that all it does is reopen the main window.
Thanks for any help.
Kenneth Keeley