[comp.windows.ms] drawing dotted boxes

sme@swdev.Waterloo.NCR.COM (Suzanne M. Riddell) (11/14/89)

    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.