I used to achieve this job through nircmd, then to autohotkey, now
back to PP:

local hWnd=Win.Handle("active")
local style=dll.call("GetWindowLong|hWnd Int Long",hWnd,"4294967280")
dll.call("SetWindowLong|hWnd Int Long Long",hWnd,"4294967280",style -
0x00C00000)
Win.Maximize(hWnd)
wait.for(1000)
win.debug(win.fullscreen)

BTW, I couldn't use a negative integer for an 'int' parameter:
I have to use "4294967280" instead of simply -16.

Sean





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 


Reply via email to