Sign in to follow this  
Followers 0
CygnusX1

Get Control and Text Lengths (Solved)

3 posts in this topic

#1 ·  Posted (edited)

Hey, 

I looked around a bit but didn't find what I was looking for.

Is it possible through AutoIt to determine if text on a control is longer then the control size? I used the Window Info Tool and it shows the control size, 84, 14 and it shows the text, Местоположение:. 

Can you compare the control length and the text length to see if the text is running over the control size?

 

 

cut_off.png

Edited by CygnusX1

Cygnus

Share this post


Link to post
Share on other sites



You might have a look at the example for _WinAPI_GetTextExtentPoint32

Share this post


Link to post
Share on other sites

Thank you Mikell! That did it.

Solved!

Brad


Cygnus

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  
Followers 0