--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > > 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.
Another update, the final, I think. It allowed the resizing only when specifying a rect "left top right bottom" for aRect: When specifying rect "left top right bottom", resizing is also allowed by adding new width/height like "left top right bottom width height". So, if aRect is "0 0 640 512 1280 1024", then "0 0 640 512" rect will be resized to new Width/Height 1280/1024. 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/
