I'm having undesirable reflexes with ES_AUTOHSCROLL Set.
What I'm trying to do is create an Edit that resizes with the text in it. However I hit a problem whenever the user types past the end of the edit.
Without ES_AUTOHSCROLL the user cannot type past the current size of the edit, so my edit doesn't grow to fit the new character, because input is ignored.
With ES_AUTOHSCROLL when the user types past the current size of the edit, it scrolls first before I get a chance to increase my window size, so I end up with the first letter hidden even though the window is now big enough to hold the new character.
My solution was to make my edit one max-width character longer than the text its holding and that works, because you have room to type the next character. However, that looks a little tacky.
If there was a way to allow wider text than the width of the edit window without using ES_AUTOHSCROLL I'd be set.