Re: Activate application running in system tray
From: Pooja (Pooja_at_discussions.microsoft.com)
Date: 09/15/04
- Previous message: David Saint: "Re: keyboard event"
- In reply to: alpine: "Re: Activate application running in system tray"
- Next in thread: alpine: "Re: Activate application running in system tray"
- Reply: alpine: "Re: Activate application running in system tray"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 15 Sep 2004 01:03:06 -0700
Hi,
Thanks for the reply but this works fine if the application is minimized
i.e. if the application is present in the Task Bar and not when the
application is hidden i.e. in system tray. Can u plz suggest some other
solution?
Thanks,
Pooja.
"alpine" wrote:
> On Tue, 14 Sep 2004 03:17:01 -0700, "Pooja"
> <Pooja@discussions.microsoft.com> wrote:
>
> >Hi,
> >I have an instance of the application already running. Its present in the
> >system tray. now when i try to open a new instance of application, it should
> >end the new one and activate the old instance and bring the window on top. I
> >tried all the functions as in - FindWindow(), ShowWindow(),
> >SetForegroundWindow(), GetWindow(), OpenIcon(), BringWindowToTop(),
> >WinSetFocus().
> >
> >But the previous instance is just not getting activated. Someone plz help.
> >
> >Regards,
> >Pooja.
>
>
> You might want to have a look at the App Activate example at
> http://www.mvps.org/vbvision/
>
> HTH,
> Bryan
> ____________________________________________________________
> New Vision Software "When the going gets weird,"
> Bryan Stafford "the weird turn pro."
> alpine_don'tsendspam@mvps.org Hunter S. Thompson -
> Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
>
- Previous message: David Saint: "Re: keyboard event"
- In reply to: alpine: "Re: Activate application running in system tray"
- Next in thread: alpine: "Re: Activate application running in system tray"
- Reply: alpine: "Re: Activate application running in system tray"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|