INFO: Default Edit Control Entry Validation Done by Windows

ID: Q74266


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1
  • Microsoft Windows 2000

Under the Microsoft Windows graphical environment, multiline and single-line edit controls do not accept characters with virtual key code values less than 0x20. The two exceptions are the TAB and ENTER keys; users can enter these characters only in a multiline edit control.

If an application creates an edit control with the ES_LOWERCASE or ES_UPPERCASE style, text entry is converted into the specified case.

If an application creates an edit control with the ES_OEMCONVERT style, the text is converted from the ANSI character set to the OEM character set and then back to ANSI for display in the control.

SUMMARY

Additional query words: WIN16SDK

Keywords : kbCtrl kbEditCtrl kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS
Version : WINDOWS:3.0,3.1
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: January 28, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.