Bo, that's unbelievable!!! I really thought it might not be possible, but this works beautifully.
Thank you!!
Nothing to do with the code that you provided, but I have noticed that GDI's MeasureString() isn't always 100% accurate when I use it to redraw the editbox based on the text value. It's WAY better than using the fontmetric, but are you aware of any tricks to making it closer to perfect?
-m@
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only