Hello Wilfried, Actually I was surprised that FindWindow worked, because the service runs as LocalSystem and in a different windowstation. It could be because the service was created as an interactive service and somehow has interaction with one of the desktops.
I remember seeing suggestions of starting a user application by the service impersonating the owner of a windowstation to display a tray icon but I have never tried that. -- Best regards, Jack Sunday, August 28, 2005, 10:41:57 AM, you wrote: > Hello Jack, J>> I tried your svc sample. When I have two users logged on J>> Win XP with Fast User Switching, the service shows a tray J>> icon in one of the user's desktop but not the other one. J>> I think the reason is what I just mentioned in the previous J>> paragraph. > Yes I did some experiments and it is very wierd. Even FindWindow seems > not always to work eather. Even Show; does sometime not work, and when > it not work and I log off remote and logon local then I see my window.. > I wonder how other do this... > --- > Rgds, Wilfried > http://www.mestdagh.biz > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
