I uploaded a new build into the Files/Scripts section.

The usage is:
.ScreenCapture(aRect,bMouse,sName)

All args are optional.

If aRect is
1) 0 or "", captures the entire screen
2) 1, captures the active window
3) 2, captures the active client area
4) "left top right bottom", only the rect will be captured.

If bMouse is neither "" nor 0, captures the mouse cursor too.

If sName is specified, the captured image is saved to sName,
otherwise, to screen.bmp in temp folder.

I dropped the zooming, as it turned out that transparent windows
wouldn't be captured when resizing was done.

Of course there is a way to achieve it, by introducing two pair of
mDC/hBM's, however, I'll leave that to the users interested in.

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/
 



Reply via email to