Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Middle Click title bar
#10
Function EnumQmToolbars
Code:
Copy      Help
;/
function# ARRAY(int)&hwnds [hwndOwner]

dll user32 #FindWindowEx hWnd1 hWnd2 $lpsz1 $lpsz2

hwnds=0
int h
rep
,h=FindWindowEx(0 h "QM_Toolbar" 0); if(!h) break
,if(!hwndOwner or GetWindow(h GW_OWNER)=hwndOwner) hwnds[hwnds.redim(-1)]=h

ret hwnds.len

Example
Code:
Copy      Help
int hwndOwner=_hwndqm

ARRAY(int) a
int i n=EnumQmToolbars(a hwndOwner)
for i 0 n
,siz 8 8 a[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)