This is just a rewriting which requires the latest builds of PP & DLL
plugin:
local hWnd=Win.Handle("active")
local style=dll.call("GetWindowLong|hWnd int long",hWnd,-16)
dll.call("SetWindowLong|hWnd int long long",hWnd,-16,style ^ 0x00C40000))
if(style & 0x00C00000)do
Win.Maximize(hWnd)
else
Win.Restore(hWnd)
endif
quit
Sean
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
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/
<*> 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/