Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test-Button
#4
Function ShowWindowRect
Code:
Copy      Help
;/
function hwnd

;Three times shows black rectangle around window or control.

;hwnd - window or control handle.

;EXAMPLE
;int w=win("Quick Macros" "QM_Editor")
;int c=id(2053 w) ;;tool bar
;ShowWindowRect c


RECT r; GetWindowRect hwnd &r
rep(3) OnScreenRect 1 r; 0.3; OnScreenRect 3; 0.3
OnScreenRect 2


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)