Alice86 0 Newbie Poster

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 :)