Sign in to follow this  
erin

textboxes in gui

Recommended Posts

hi, I have read the gui tutorial on this site(developing a gui using c++ and dx..) but there is something I didnt understand bout the textboxes. its written that I have to draw "caret" according to the lenght of my text, but some characters are wider than others how can I predict how much pixel I have to go "right".I mean these two strings wont be taking the same space. "iiiiii" "oooooo"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this