🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2391

comp.windows.ms

#2391
From: Bengt A. Palsson
Date: Thu, 02 May 1991 13:19
41 lines
2334 bytes
We are working on putting together a multimedia application under Windows 3.0 and
I have a few specific queries relating to running multiple applications under
Windows 3.0 communicating via DDE:

     1)   Is there a way to activate (start up) one application (that is NOT
          currently running), and then terminate it FROM another application
          that is currently running ? 

     For example:   I have applications X, Y and Z. X is currently running and
                    wants Y or Z to start running, perform a task and then
                    terminate. 

     The only possible solutions I could think of so far is: 

          a) To have all applications running at the time Windows is started up
          and then carry out all tasks via DDE and then close down all applica-
          tions when exiting Windows.

          b) Send a DDE message to the Program Manager telling it to start up
          a certain application, however, I don't know if the Program manager
          supports DDE in this manner.

     2)   Once we have successfully carried out the task at hand within the
          application (regardless of how it was started up), how do we switch
          back to the original (calling) application ?

     3)   When an application that currently is in the background recieves a DDE
          message to display something in a window, will its window automatical-
          ly move to "the front" or does that have to be a specific command via
          DDE ? 

If you have any input on this issue post it here or send me e-mail.

Thanks

--
Bengt A. Palsson                         | "It's not that I'm afraid of
FORD Scientific Research Labs            |  dying, I just don't want to be
Internet   : bpalsson@smail.srl.ford.com |  there when it happens."
Compuserve : 70541,3431                  |  - Woody Allen
Technical Details
Message-ID: <41388@fmsrl7.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!fmsrl7!fires1!bengt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!fmsrl7!fires1!bengt
From: bengt@fires1 (Bengt A. Palsson)
Newsgroups: comp.windows.ms.programmer
Subject: comp.windows.ms
Message-ID: <41388@fmsrl7.UUCP>
Date: 2 May 91 13:19:55 GMT
Sender: root@fmsrl7.UUCP
Reply-To: bpalsson@smail.srl.ford.com (Bengt A. Palsson)
Organization: Quest for the Holy Green Card Inc.
Lines: 41