Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting the handle to onscreen display
#1
how can i get the hwnd of an OSD?
#2
Code:
Copy      Help
OnScreenDisplay "test"
0.1
int hwnd=win("" "QM_OSD_Class")
#3
when you call the osd set the "$osdid" to a string you want then later you can to this to get the handle.

Code:
Copy      Help
win(osdid "QM_OSD_Class")

there is more info in the comments section of the OnScreenDisplay macro.[/code]
An old blog on QM coding and automation.

The Macro Hook
#4
thanks very much i knew it would be something to do with the class but wasnt sure of the class..


Forum Jump:


Users browsing this thread: 2 Guest(s)