msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ES_MARGIN
Full List                                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
ES_MARGIN  Draws a border around the entry-field control. The border is
one-half character wide and one-fourth character high. Without this style,
the control is drawn without a border. The entry-field rectangle is outset
on all sides by this margin. After an ES_MARGIN entry field is created, the
WinQueryWindowRect function returns a larger rectangle that includes this
margin, and whose origin is therefore different from the one specified when
the rectangle was created. Your application must adjust for this size
difference when the user moves or sizes the entry-field control or else the
control will become larger after each moving or sizing operation.
 
                                      ♦