This can be done already using Win plugin, so, it's just an example of
an usage of callback introduced in the latest dll plugin.
------------------- EnumAllWindows.PowerPro ------------------------
@EnumWindows
local list=dll.create_callback("[EMAIL PROTECTED]","ui ui")
dll.call("EnumWindows|k k",list,list)
quit
@Handle
args hWnd,lparam
win.debug(hWnd,hWnd.class++esc("0x13",0)++hWnd.caption;;+
,repeat("-",if(lparam,50)))
if(lparam)
dll.call("EnumChildWindows|ui ui ui",hWnd,lparam,0)
quit(1)
---------------------------------------------------------------------
Sean
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/