help with windows api in c++

Thread Solved
Reply

Join Date: Sep 2007
Posts: 56
Reputation: curt22 is an unknown quantity at this point 
Solved Threads: 0
curt22 curt22 is offline Offline
Junior Poster in Training

help with windows api in c++

 
0
  #1
Sep 16th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 195
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Solved Threads: 13
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: help with windows api in c++

 
0
  #2
Sep 16th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 56
Reputation: curt22 is an unknown quantity at this point 
Solved Threads: 0
curt22 curt22 is offline Offline
Junior Poster in Training

Re: help with windows api in c++

 
0
  #3
Sep 16th, 2007
Thanks
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC