Custom Query
Results (175 - 177 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#2014 | Rejected | Updated Array.au3 UDF to be used with 2D arrays | Gary | BrewManNH |
Description |
I have modified several of the _Array functions, that previously only handled 1D arrays, to handle both 1D and 2D arrays. I added 4 new array functions, 2 of which are modified versions of the 1D array functions with similar names. This collection of UDFs can take the place of the standard _Array functions without any code changes as they are just additional functionality with any added parameters being added at the end, and with default settings applied. There is also an updated _ArrayDisplay function included which autosizes the GUI and the listview column widths. This is a list of the functions included and I've marked the ones that have been modified. ; #CURRENT# ============================================================= ;_ArrayAdd * ;_ArrayBinarySearch * ;_ArrayCombinations ;_ArrayConcatenate * ;_ArrayDelete ;_ArrayDisplay * ;_ArrayFindAll ;_ArrayInsert * ;_ArrayMax * ;_ArrayMaxIndex ;_ArrayMin * ;_ArrayMinIndex ;_ArrayPermute ;_ArrayPop * ;_ArrayPush * ;_ArrayReverse * ;_ArraySearch ;_ArraySort ;_ArraySwap ;_ArrayToClip * ;_ArrayToString * ;_ArrayTrim * ;_ArrayUnique (Corrected the header information) ; * - #MODIFIED FUNCTIONS# ; ============================================================= ; #NEW FUNCTIONS ADDED# ; ============================================================= ;_ArrayAddColumns ;_ArrayDeleteColumn ;_ArrayMaxIndex2D ;_ArrayMinIndex2D ; ============================================================= |
|||
#2030 | Rejected | _WinAPI_GetLastErrorMessage - accept specified error code parameter | Gary | anonymous |
Description |
; #FUNCTION# ==================================================================================================================== ; Name...........: _WinAPI_GetLastErrorMessage ; Description ...: Returns the calling threads last error message ; Syntax.........: _WinAPI_GetLastErrorMessage([$iError]) ; Parameters ....: $iError ; Return values .: Success - Last error message ; Author ........: Paul Campbell (PaulIA) ; Modified.......: jpm, danielkza, Valik ; Remarks .......: ; Related .......: _WinAPI_GetLastError ; Link ..........: ; Example .......: ; =============================================================================================================================== Func _WinAPI_GetLastErrorMessage($nError = False) Local $tBufferPtr = DllStructCreate("ptr") Local $pBufferPtr = DllStructGetPtr($tBufferPtr) If Not $nError Then $iError = _WinAPI_GetLastError() Local $nCount = _WinAPI_FormatMessage(BitOR($__WINAPICONSTANT_FORMAT_MESSAGE_ALLOCATE_BUFFER, $__WINAPICONSTANT_FORMAT_MESSAGE_FROM_SYSTEM), _ 0, $nError, 0, $pBufferPtr, 0, 0) If @error Then Return SetError(@error, 0, "") Local $sText = "" Local $pBuffer = DllStructGetData($tBufferPtr, 1) If $pBuffer Then If $nCount > 0 Then Local $tBuffer = DllStructCreate("wchar[" & ($nCount+1) & "]", $pBuffer) $sText = DllStructGetData($tBuffer, 1) EndIf _WinAPI_LocalFree($pBuffer) EndIf Return $sText EndFunc ;==>_WinAPI_GetLastErrorMessage |
|||
#2031 | No Bug | _GUICtrlStatusBar_SetBkColor() not working | Gary | GEOSoft |
Description |
_GUICtrlStatusBar_SetBkColor() example does not work and the function itself would appear to be the problem. I'm not sure when this function actually did work last but it may be as far back as Windows 9x systems. |