DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   help with windows api in c++ (http://www.daniweb.com/forums/thread89814.html)

curt22 Sep 16th, 2007 12:00 pm
help with windows api in c++
 
I have a single line text box, that is wide enough to hold 20 characters and I was wondering how do I make it so that you can keep typing even though it's got 20 characters in it without making it longer and without a vertical scrollbar? I'm sure it's not that hard, but I've been trying for a while and I still can't get it.

Tight_Coder_Ex Sep 16th, 2007 12:15 pm
Re: help with windows api in c++
 
When creating an "EDIT" window there are several flags associated all begining with ES_. The one you want to use is ES_AUTOHSCROLL in dwStyle.

curt22 Sep 16th, 2007 1:31 pm
Re: help with windows api in c++
 
Thanks


All times are GMT -4. The time now is 9:34 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC