Jump to content

ToolTip question


 Share

Recommended Posts

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...