Article View: comp.windows.ms
Article #1986drawing dotted boxes
From: Suzanne M. Riddell
Date: Mon, 13 Nov 1989 19:25
Date: Mon, 13 Nov 1989 19:25
17 lines
1115 bytes
1115 bytes
Hi,
Has anyone tried to mimic the dotted boxes that dialog editor
uses when sizing dialog boxes, or other controls?
I've investigated using the "PS_DOT" pen, however, the result
I get (in MM_TEXT map mode) is quite unsatisfactory. I've also
investigated creating my own brush using bitmaps, and calling
the function "FrameRect". This has turned into a time-consuming
effort, since I don't understand how a 8x8 bit bitmap draws a
1 pixel wide frame.
If anyone has more information on the function "FrameRect",
drawing a 1 pixel wide frame with a brush, or just plain knows
how to create the dialog editor's dotted boxes, I'd appreciate
hearing from you.
Technical Details
Message-ID:
<1093@swdev.Waterloo.NCR.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!ncrlnk!ncrwat!swdev!smeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!ncrlnk!ncrwat!swdev!sme From: sme@swdev.Waterloo.NCR.COM (Suzanne M. Riddell) Newsgroups: comp.windows.ms Subject: drawing dotted boxes Keywords: boxes Message-ID: <1093@swdev.Waterloo.NCR.COM> Date: 13 Nov 89 19:25:13 GMT Organization: NCR Canada Ltd, Waterloo, Ontario, Canada. Lines: 17