Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Text box limitation ?


1 reply to this topic

vishwa

vishwa
  • Full Members
  • 63 posts

Posted 17 March 2005 - 07:18

I have a custom dialog that takes input from users in text boxes. I notice that the no. of characters that can be entered by the user is limited by the length of the text box. Is there any way to allow the user to enter more text than the size of the box? I mean, is there anyway that as the user enters more text than visible, the text automatically scrolls to make way for the more?

Is there any text box property that I can set, or any other way of doing this?


Thanks,
Vishwa

vishwa

vishwa
  • Full Members
  • 63 posts

Posted 18 March 2005 - 16:43


I found the solution to the problem.

In the 'Other Windows Styles' property of the text box, check the ES_AUTOHSCROLL check box. This enables the text box to accept more characters than its size.

- Vishwa