﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
728	_ScreenCapture_CaptureWnd Change	anonymous		"First - absolutely wonderful that _ScreenCapture is included in AutoIt.  :-)

A slight change to the way in which _ScreenCapture_CaptureWnd is called is my request.  Not because this will make it work better, faster, or anything like that.  It's just I was reading through the manual and thought that this was a good idea.  So I'm passing it along.  :-)

Here is the current call line:

{{{
#Include <ScreenCapture.au3>
_ScreenCapture_CaptureWnd($sFileName, $hWnd[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]])
}}}

Here is the change:

{{{
#Include <ScreenCapture.au3>
_ScreenCapture_CaptureWnd($hWnd[, $sFileName = """"[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]]])
}}}

Since $sFileName doesn't have to be sent to the function but $hWnd does have to be sent to the function - It makes sense that $hWnd comes first.  :-)

I know - everyone's already using it the other way.  But.... it would make future coding easier.  Presently, you have to do:

_ScreenCapture_CaptureWnd( """", $hWnd )

and this would just make it:

_ScreenCapture_CaptureWnd( $hWnd )

Anyway - just a thought."	Feature Request	closed		AutoIt		None	Rejected		
