CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Masked Edit Control

    I'm in a bind using the Masked Edit Control from the msmask32.ocx. I was wondering if you can help me with any suggestions you have. I updated our application from VC++ 4.2 to VC++ 5.0 professional edition. I'm using the MaskEdBox object on a dialog with the following properties set. Mask(##/##/####), Format(dd-mm-yyyy), mousepointer(mskDefault), borderstyle(mskFixedSingle), clipmode(mskIncludeLiterals), OLEDragMode(mskOLEDragManual), OLEDropMode(mskOLEDropNone), MaxLength(10), PromptChar (_). The date I enter is 21/11/1998. In this dialog, we have a button that you click on to bring up another dialog window. I close the 2nd dialog window and the date I entered becomes 21/11/2111. The year becomes the combination of the dd & mm. I then close the 1st dialog window and then open it again and the date appears fine. I did not have this problem with the VC++ 4.2 version until upgrading to 5.0. Is the a problem in using the new version of msmask32.ocx? I would appreciate your feedback. Thanks...Terry



  2. #2
    Join Date
    May 1999
    Location
    Miami, Florida
    Posts
    242

    Re: Masked Edit Control

    I don't know if there is any difference between VC 4.0 and 5.0 versions that would cause this. I do know that I had to implement a masked edit control in vc 5.0 a few days ago and there are great classes on masked edit at the beginning of this site. I downloaded them and implemented masked edit within a 1\2 hour.


  3. #3
    Join Date
    May 1999
    Posts
    30

    Re: Masked Edit Control

    DUNDAS are giving away there MskedEdit control MFC class for free.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured