Solved

Setting Max,Min Property for a dynamic control

Posted on 2003-11-12
6
295 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
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 100 total points
ID: 9738812
trap the EN_KILLFOCUS message and do your validation there.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

773 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