home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!media03!rla
- From: rla@media03.UUCP (Raymond van der Laan)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: DLL's and PeekMessage
- Keywords: waiting for message in DLL
- Message-ID: <2901@media03.UUCP>
- Date: 20 Nov 92 10:36:13 GMT
- Organization: Mediasystemen, Netherlands
- Lines: 27
-
-
- I have a question regarding DLL's. What is the best way in a
- DLL to give back control to Windows by using PeekMessage/GetMessage?
-
- Is it ok to just do this:
-
- while not ready do
- PeekMessage
- if it's ours
- do something
- else
- TranslateMessage
- DispatchMessage
- end
- end
-
- or are there special considerations? I looked for examples, but I couldn't
- find one.
- Thanks in advance.
- --
- Raymond van der Laan Email: sun4nl!media01!rla
- Mediasystemen BV Tel. : +31 23-319075
- Haarlem Fax : +31 23-315210
- The Netherlands
- 'There is no masterplan.
- This is what we do now.'
- - Stuart Adamson
-