Borje Posted March 31, 2009 Share Posted March 31, 2009 Is that possible to have a tooltip to to be shown in a same place in differnts resolutions? Example: 1280 x 1024 or 1280 x 768 and have the tooltip in the same place. Or what is the best to do? Link to comment Share on other sites More sharing options...
picea892 Posted March 31, 2009 Share Posted March 31, 2009 Is that possible to have a tooltip to to be shown in a same place in differnts resolutions?Example: 1280 x 1024 or 1280 x 768 and have the tooltip in the same place.Or what is the best to do?ToolTip("hi there",@DesktopWidth-100,@DesktopHeight-100,"") Link to comment Share on other sites More sharing options...
Borje Posted March 31, 2009 Author Share Posted March 31, 2009 Thank you picea892 I would test this... Link to comment Share on other sites More sharing options...
Mat Posted March 31, 2009 Share Posted March 31, 2009 Correct me if I'm wrong, but 100 is by definition a constant, you actually want it to be done purely with macroes to get the right position, eg, set your monitor to 200 x 200 and use ther code, then switch to 1280 x 1024, you will get different places. What It should be $Pos_Width = @DesktopWidth - @DesktopWidth/10 and $Pos_Height = @DesktopHeight - @DesktopHeight/10 the math functions may not work, but play around with using just macros AutoIt Project Listing Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now