Code: Select all
If OpenWindow(0,0,0,90,0,"", #PB_Window_SystemMenu | #PB_Window_Tool)
StickyWindow(0, #True)
Define iEvent.i
Repeat
iEvent = WaitWindowEvent(1)
SetWindowTitle(0, "X" + Str(DesktopMouseX()) + ", Y" + Str(DesktopMouseY()))
Until iEvent = #PB_Event_CloseWindow
EndIf
End
However, what I'm looking to do is the seemly impossible. Let's say we want to know the pixel position of an image displayed in MS Word for example. If the Word Doc fits within the screen at scale 100%, all is well, but if the page has to be scrolled......?