CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Potsdam
    Posts
    110

    DDV_MinMaxDouble

    Hello. I am using DDV_MinMaxDouble() to validate a number entered into an edit box. The number should be in the range of 500 to 2000, however, when I start to enter the digits of a number into the edit box, it tries to validate each individual digit within the specified range of 500 to 2000. So if I want to enter 700 in the edit box, I type 7, and then I get a message box saying to enter a number within the specified range. Is there a way to change it so I can enter the whole number, 700, and then for this number to be checked that it is in the correct range? I don't want it to check each individual digit. Thank you.


  2. #2
    Join Date
    Apr 1999
    Posts
    90

    Re: DDV_MinMaxDouble

    Do you have another callback in there somewhere? Such as the EN_UPDATE or EN_CHANGE? If so and you are doing an UpdateData() call, then that might be your problem.


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