How to set maximum length for EditControl (textBox)

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2009
Posts: 2
Reputation: Alice86 is an unknown quantity at this point 
Solved Threads: 0
Alice86 Alice86 is offline Offline
Newbie Poster

How to set maximum length for EditControl (textBox)

 
0
  #1
32 Days Ago
Hi all,

I now using Visual C++ (Visual Studio 2005) for my project. i face some problem in set the maximum length for my edit control(text box).

i have 3 edit control in the same dialog. i want set the maximum length for each edit control = 5.

following are the 3 ID of edit control in same dialog:
IDC_EDIT_MCNO
IDC_EDIT_MCSERIALNO
IDC_EDIT_LOCATION

The dialog ID is: IDD_MACHINE

Please guide me for set max length.

Thanks very for your help. i will very appreciate.

Regards:
Alice
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC