SAMPLE: Verify.exe - Data Input Verification for Edit Controls

ID: Q72023


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


SUMMARY

There is a file in the Microsoft Software Library called VERIFY.EXE that contains sample code demonstrating the verification of the contents of a dialog box edit control. The code reads and verifies the edit control string as each character is entered by the user.

The contents of the edit control are verified to be legal for a specified data type. If an illegal character is encountered, the character is removed from the edit control and a message beep is generated. The code will verify the input of WORD, DWORD, or FLOAT values.

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

Verify.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words:

Keywords : kbfile kbsample kb16bitonly kbCtrl kbDlg kbEditCtrl kbSDKPlatform kbGrpUser
Version : WINDOWS:3.0,3.1
Platform : WINDOWS
Issue type :


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