Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnScreenDisplay
#1
How do i get onscreendisplay to show in the middle of a a window... like i got this

Code:
Copy      Help
int hwnd=win("Quick Macros")
OnScreenDisplay "Testing Display" hwnd 2
#2
Macro
Code:
Copy      Help
int hwnd=win("Quick Macros")
int x y
GetWinXY hwnd x y
OnScreenDisplay "Testing Display" 0 x+100 y+100

Will be at specified offset (100x100) in the window. Cannot show exactly in center every time because text dimensions are unknown before calling OnScreenDisplay.


Forum Jump:


Users browsing this thread: 1 Guest(s)