• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Setting Max,Min Property for a dynamic control

Hi

I am using Create function of the CEdit control to dynamically create some text boxes. Now I want to set a minimum and maximum value for the number entered in these controls. How can I do that

gp
0
Gopakumar
Asked:
Gopakumar
1 Solution
 
rovermCommented:
Hi gp,

What language are you using? I don't know this CEdit control. Is it a custom control?

D'Mzz!
RoverM
0
 
GopakumarAuthor Commented:
vc++ Text control
0
 
bhagyeshtCommented:
trap the EN_KILLFOCUS message and do your validation there.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now