🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Strange things about PeekMessage ...

#3416
From: Torsten Sturm
Date: Wed, 26 Jun 1991 12:09
37 lines
1499 bytes
Hi, i've got a problem about PeekMessage :

(I used PeekMessage in a normal while-look a lot, so I
 thought I know all about it ???)

What I want to do is something like this :

for(......)
{
/* see, if other apps wish to do something and "eat" all mesg. for this
   appl. */
 PeekMessage(&msg,hWnd,0,0,PM_REMOVE);

.... do some calculating stuff (no SDK calls)....
}


The result is, that only messages, which are directly sent to other
window procedures come thru to other apps(I can see this with clock.exe
or cpuuse.exe from cica), such as WM_PAINT or WM_TIMER.
But I can't for instance click upon and activate another application.

I experienced with various parameter in PeekMessage, but nothing
changes !?!?!

What is wrong ??

Please help !

Thanx
---
Torsten Sturm 
tnsturm@faui09.informatik.uni-erlangen.de
tnsturm@faui40.informatik.uni-erlangen.de
testurm@faui41.informatik.uni-erlangen.de
testurm@faui43.informatik.uni-erlangen.de
storm@faui80.informatik.uni-erlangen.de
Technical Details
Message-ID: <1991Jun26.120949.2873@informatik.uni-erlangen.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!ira.uka.de!fauern!faui43.informatik.uni-erlangen.de!testurm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!ira.uka.de!fauern!faui43.informatik.uni-erlangen.de!testurm
From: testurm@immd4.informatik.uni-erlangen.de (Torsten Sturm)
Newsgroups: comp.windows.ms.programmer
Subject: Strange things about PeekMessage ...
Message-ID: <1991Jun26.120949.2873@informatik.uni-erlangen.de>
Date: 26 Jun 91 12:09:49 GMT
Organization: CSD., University of Erlangen, Germany
Lines: 37