🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Keeping a window in front

#654
From: James Seidman
Date: Mon, 19 Nov 1990 16:24
14 lines
1131 bytes
There are a bunch of utilities (such as clocks, free-memory indicators, etc.)
which keep a window promoted in front of everything else.  I was wondering
what the best way to do this is.  After some poking around with SPY, the
only message I can find which is somewhat reliably produced when a window
is covered is WM_NCPAINT.  (This in itself seems strange... it's not like
part of the window is being exposed, just covered.)  Is there a better way
to keep a window promoted than to do a ShowWindow() on every WM_NCPAINT
message?
-- 
Jim Seidman (Drax), the accidental engineer.
"It doesn't have to work... they'll be paralyzed just from laughing at me."
							- Dr. Who, _Shada_
UUCP: ames!vsi1!hsv3!jls	         INTERNET: hsv3.UUCP!jls@apple.com
Technical Details
Message-ID: <5848@hsv3.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!vsi1!hsv3!jls

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!vsi1!hsv3!jls
From: jls@hsv3.UUCP (James Seidman)
Newsgroups: comp.windows.ms.programmer
Subject: Keeping a window in front
Message-ID: <5848@hsv3.UUCP>
Date: 19 Nov 90 16:24:17 GMT
Reply-To: jls@hsv3.UUCP (James Seidman)
Organization: Video Seven / Headland Technology
Lines: 14