How to add Tray Icon on the System Tray while switch (or login , logoff) user event occured in Windows Vista?
-
Hi to all!! I am developing an dialog based application in MFC which works on Windows Vista. I am invoking my application using a windows service. It is properly working when login, logoff or switch user events occured. My problem is that at first when the service started and my application is launched I m getting the tray icon of my application (which is fine) but when logoff, logon or switch user events occured the though the application is invoked and running fine I am unable to get the tray icon of my application. Please help me for comming out of this difficulty. Thanks and regards, Vaibhav Deshpande.
-
Hi to all!! I am developing an dialog based application in MFC which works on Windows Vista. I am invoking my application using a windows service. It is properly working when login, logoff or switch user events occured. My problem is that at first when the service started and my application is launched I m getting the tray icon of my application (which is fine) but when logoff, logon or switch user events occured the though the application is invoked and running fine I am unable to get the tray icon of my application. Please help me for comming out of this difficulty. Thanks and regards, Vaibhav Deshpande.
If your application requires elevation then you cannot get it to auto-start with a user logon, there is no way around this in Vista unless you remove the parts of your application which require elevation. If I am misunderstanding your question, then please elaborate. regards,
Jonathan Wilkes Darka[Xanya.net]
-
If your application requires elevation then you cannot get it to auto-start with a user logon, there is no way around this in Vista unless you remove the parts of your application which require elevation. If I am misunderstanding your question, then please elaborate. regards,
Jonathan Wilkes Darka[Xanya.net]
Hi!! I am working on an application which is invoked by the windows service. I have overcome the difficulty of UAC in Vista i.e. my application is invoked as the service is started and as well as the new user logged in. Now I m stucking at a point that I have added the Tray Icon for my application, when application is first invoked the tray icon is shown on the system tray but when switch user event occured and new user logged in then though the application is invoked I am not getting the tray icon of my application. With regards, Vaibhav Deshpande