Re: Switching between applications



On Sun, 24 Apr 2005 20:37:05 +0100, Tim <tim@xxxxxxxxxxxxxxx> wrote:

>
>Is it easy (for a novice) to have two applications running and be able
>to switch between them through code?
>
>I'd like to have two programs. One running normally and another that
>minimises itself to the system tray, but can be called and opened by
>the first application.
>
>Really complicated to do?

Not really, you need to get a unique Window Message number using
RegisterWindowMessage

Then one app can use SendMessage with HWND_BROADCAST

I posted an example a year ago

http://tinyurl.com/b4tum


.



Relevant Pages

  • Switching between applications
    ... Is it easy (for a novice) to have two applications running and be able ... to switch between them through code? ... Prev by Date: ...
    (comp.lang.pascal.delphi.misc)
  • Re: Please, in a short sentence, why VB.Net?
    ... I already have VB 6 applications running in my website. ... why is it convenient for me to switch to VB.NET?. ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Please, in a short sentence, why VB.Net?
    ... I already have VB 6 applications running in my website. ... why is it convenient for me to switch to VB.NET?. ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Scanner with two applications
    ... I have two applications running a the same time and the scanner ... One app have been developed by a third party developer in C++ and I ... PPT2800 ActiveX Scanner control dll. ...
    (microsoft.public.windowsce.embedded.vb)
  • Re: Reinstall or reformat?
    ... The more applications running, the "slower" any PC will become. ... Some tech support folks have told me that MS recommends reformat ... I have all the app CD's so I ... alleviate a long drawn out painful reformat and reinstall. ...
    (microsoft.public.windowsxp.perform_maintain)