home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3476 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.0 KB

  1. Path: 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
  2. From: jan@nasobem.stgt.sub.org (Jan Schiefer)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: How does Windows draw the "ghost frame"?
  5. Message-ID: <7046.921116@nasobem.stgt.sub.org>
  6. Date: Mon, 16 Nov 92 0:57:26 GMT
  7. Distribution: world
  8. Lines:  20
  9.  
  10. Hi,
  11.  
  12. I am trying to draw a frame similar to the "ghost frame" Windows draws
  13. when you move a window by dragging the caption bar. I am having problems,
  14. however.
  15.  
  16. Even on a 24-bit display this frame appears to be dithered. I cannot find
  17. a pen style and color to draw the same pattern. I suppose the width and
  18. height of the frame is SM_CXFRAME and SM_CYFRAME, respectively.
  19.  
  20. Or do I have to draw two rectangles and fill the gap in between with a
  21. specific pattern?
  22.  
  23. Thanks in advance,
  24.  
  25.         Jan
  26.  
  27. --
  28.              Jan Schiefer, DL5UE, jan@nasobem.stgt.sub.org
  29.                  "Oracle et laboracle!"   - Fritz Hohl
  30.