How to allow the user to enter or type only 1 to 2147483647 in the MFC CEdit control without using DDV_MinMaxLong?
abc abc
351
Reputation points
Hi,
How to allow the user to enter or type only 1 to 2147483647 in the MFC CEdit control without using DDV_MinMaxLong or DDV_MinMaxInt?
if I use DDV_MinMaxInt or DDV_MinMaxLong , the user is allowed to enter or type more than 2147483647 and If User enter more than 2147483647 getting the prompt message "Enter an integer between 1 and 2147483647. My requirement is user should not get prompt message and the user should be allowed to enter only 1 to 2147483647.
Is it possible to achieve my requirement using MFC CEdit Control and how to achieve this?