Custom Query
Results (259 - 261 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1445 | Fixed | Wrong description for _MemGlobalFree() | Jon | Yashied |
| Description |
If the function succeeds, returns FALSE but not TRUE. I think that need to correct a description or function code. Func _MemGlobalFree($hMem)
Local $aResult = DllCall("kernel32.dll", "ptr", "GlobalFree", "handle", $hMem)
If @error Then Return SetError(@error, @extended, False)
Return Not $aResult[0]
EndFunc ;==>_MemGlobalFree
|
|||
| #1446 | Fixed | _Screencapture_Capture UDF height and width is 1 pixel off | Jon | djbarnes@… |
| Description |
Screencapture_capture will return a square that is 1 pixel too small both in width and in height. Imagine a grid of pixels 3x3. You want to capture pixel 1,1 - 3,3. so you run the command: _ScreenCapture_Capture ("example.png",1,1,3,3) however, in _ScreenCapture_Capture the following code exists:
so $iW = 3-1 = 2
returning an image 2x2, which isn't what you want. The rectangle is inclusive of the last pixels. recommended fix:
Although this bug is minor, If you are doing pixelchecksum and using Screencapture_capture to test your code this can cause hours of headaches! |
|||
| #1449 | Fixed | GUICtrlDelete(), GUICtrlCreateDummy() | Jon | anonymous |
| Description |
Not sure If GUICtrlDelete() should delete a GUICtrlCreateDummy() created control. If not, its at leased documented this way. ;; AutoIt(3.3.4.0)&(3.3.5.1).
;; Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X86 OS:X86)
#cs - local output.
GUICtrlCreateDummy = 3
GUICtrlDelete = 0
GUICtrlCreateDummy = 4
GUICtrlDelete = 0
#ce
Global $iResult
GUICreate('test')
$iResult = GUICtrlCreateDummy()
ConsoleWrite('GUICtrlCreateDummy = ' & $iResult & @CRLF)
$iResult = GUICtrlDelete($iResult)
ConsoleWrite('GUICtrlDelete = ' & $iResult & @CRLF)
$iResult = GUICtrlCreateDummy()
ConsoleWrite('GUICtrlCreateDummy = ' & $iResult & @CRLF)
$iResult = GUICtrlDelete($iResult)
ConsoleWrite('GUICtrlDelete = ' & $iResult & @CRLF)
|
|||
