how can fix number of lines in multiline edit box?
-
Hi all, i m using a multiline edit box and use enter for new line . i want to enter only 10 lines in edit box and each line only have max 320 char. here SetLimitText available but its set the total length of edit box. please help for this. thank in advance.
-
Hi all, i m using a multiline edit box and use enter for new line . i want to enter only 10 lines in edit box and each line only have max 320 char. here SetLimitText available but its set the total length of edit box. please help for this. thank in advance.
Can't you do this with 10 single line edit boxes placed in a column all limited to 320 characters?
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world. Fry: But this is HDTV. It's got better resolution than the real world <
-
Hi all, i m using a multiline edit box and use enter for new line . i want to enter only 10 lines in edit box and each line only have max 320 char. here SetLimitText available but its set the total length of edit box. please help for this. thank in advance.
Retrieve the line length using LineLength [^] and set the maximum character length of 10 lines, i.e. CEdit cEdit; // get the Edit control from the dialog.
cEdit.SetLimitText( 10* cEdit.LineLength );
Величие не Бога может быть недооценена.
-
Retrieve the line length using LineLength [^] and set the maximum character length of 10 lines, i.e. CEdit cEdit; // get the Edit control from the dialog.
cEdit.SetLimitText( 10* cEdit.LineLength );
Величие не Бога может быть недооценена.