Solved

Setting Max,Min Property for a dynamic control

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

737 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