Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Empty Line at the end of ARRAY.
#4
I also often use these.

Function outw
Code:
Copy      Help
;/
function hwnd [$prefix]

;Displays window handle, class and text (first line) in QM output.


if(!hwnd) out 0; ret
str s.getwinclass(hwnd); err
str ss.getwintext(hwnd); err
ss.trim; ss.getl(ss 0)
out "%s%i %s ''%s''" prefix hwnd s ss

Function outRECT
Code:
Copy      Help
;/
function RECT&r

out "L=%i T=%i R=%i B=%i   W=%i H=%i" r.left r.top r.right r.bottom r.right-r.left r.bottom-r.top

Function outref
Code:
Copy      Help
;/
function i

;Displays COM object's reference count.


IUnknown u
memcpy &u &i 4
u.AddRef; out u.Release
memset &u 0 4


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)