home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!fuug!pcuf!news
- From: turre@pcuf.fi (Jarkko Turunen)
- Subject: Executing Windows or DOS application from Windows
- Message-ID: <Bzw446.AEr@pcuf.fi>
- Sender: news@pcuf.fi (News)
- Nntp-Posting-Host: pcuf.fi
- Organization: The PC-users of Finland
- Date: Sat, 26 Dec 1992 23:33:41 GMT
- Lines: 13
-
- I am writing an application which should first unpack .ZIP's and later on
- call an editor. Calling with WinExec is not difficult, but Windows keeps
- executing my application while it should wait DOS or the editor to finish.
- I can do a while loop with FindWindow, but problem is what to do inside
- the loop. If I use GetMessage user can access my apps menus & buttons whichh
- should not be allowed. DisableWindow will not help because user will not
- get back to the application if he, while in editor, switches task.
-
- So I would like to wait for the tasks to finish with doing nothing in my
- own app still allowing other applications to work. Help is appreciated in
- both DOS case and Windows case.
-
- The application I am writing is a Windows 3.1 app and is written with MFC.
-