Msmask32.ocx Control Displays Text Right Aligned

ID: Q170250


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Advanced Server version 4.0
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0


SUMMARY

After you upgrade to Windows NT 4.0 Service Pack 3, text you enter in an Msmask32.ocx control displays right aligned. Prior to Service Pack 3, text displays left aligned.


CAUSE

This behavior can occur because the OCX passes ES_RIGHT edit style when creating the edit control window. Service Pack 3 supports right aligned single-line edit controls, where previously only right-aligned multi-line edit controls were supported.


STATUS

Microsoft has confirmed this to be a problem in Visual Basic 4.0. This problem was corrected in the latest Microsoft Visual Basic 4.0 Service Pack.


MORE INFORMATION

There are no properties available for the Msmask32.ocx control to adjust text alignment.

Additional query words: prodnt 4.00 vbwin vb

Keywords : winnt
Version : WinNT:4.00
Platform : winnt
Issue type : kbbug


Last Reviewed: February 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.