Path: utzoo!attcan!uunet!husc6!ukma!usenet.ins.cwru.edu!abvax!iccgcc!gardner From: gardner@iccgcc.decnet.ab.com Newsgroups: comp.windows.ms.programmer Subject: Input verification using edit controls... Message-ID: <2102.274a7171@iccgcc.decnet.ab.com> Date: 21 Nov 90 17:22:08 GMT Lines: 26 I am designing an accounting package which uses an edit control in a dialog box to get phone numbers, ssn numbers, dates, etc. I have been scanning through my manuals and all the magazines I could find to see how WINDOWS could verify that the user has entered the data in a correct format. What I would like to have is an edit control with a visible "mask" which the user just fills in... i.e. +-------------------------------+ | | | +--------------+ | | PHONE: |( ) - | | | +--------------+ | | | +-------------------------------+ where the box enclosing the phone number is an edit control. Are there some generic formatting characters that allow input verification using edit controls? Do I have to resort to writing my own custom control class to do input verification and formatting? I'd appreciate any help! Thanks, Mike Gardner Summit Software Engineering