Path: 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 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.