🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2083

How does Windows draw the "ghost frame"?

#2083
From: Jan Schiefer
Date: Mon, 16 Nov 1992 00:57
20 lines
1090 bytes
Hi,

I am trying to draw a frame similar to the "ghost frame" Windows draws
when you move a window by dragging the caption bar. I am having problems,
however.

Even on a 24-bit display this frame appears to be dithered. I cannot find
a pen style and color to draw the same pattern. I suppose the width and
height of the frame is SM_CXFRAME and SM_CYFRAME, respectively.

Or do I have to draw two rectangles and fill the gap in between with a
specific pattern?

Thanks in advance,

        Jan

--
             Jan Schiefer, DL5UE, jan@nasobem.stgt.sub.org
                 "Oracle et laboracle!"   - Fritz Hohl
Technical Details
Message-ID: <7046.921116@nasobem.stgt.sub.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!yale.edu!ira.uka.de!ira.uka.de!smurf.sub.org!nadia!delos!nasobem!jan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!yale.edu!ira.uka.de!ira.uka.de!smurf.sub.org!nadia!delos!nasobem!jan
From: jan@nasobem.stgt.sub.org (Jan Schiefer)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How does Windows draw the "ghost frame"?
Message-ID: <7046.921116@nasobem.stgt.sub.org>
Date: Mon, 16 Nov 92 0:57:26 GMT
Distribution: world
Lines:  20