?
Solved

Setting Max,Min Property for a dynamic control

Posted on 2003-11-12
6
Medium Priority
?
315 Views
Last Modified: 2010-04-17
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
Comment
Question by:Gopakumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Expert Comment

by:roverm
ID: 9731592
Hi gp,

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

D'Mzz!
RoverM
0
 

Author Comment

by:Gopakumar
ID: 9737254
vc++ Text control
0
 
LVL 9

Accepted Solution

by:
bhagyesht earned 400 total points
ID: 9738812
trap the EN_KILLFOCUS message and do your validation there.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Introduction to Processes

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question