Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (133 - 135 of 3866)

Ticket Resolution Summary Owner Reporter
#3808 Completed ProgressOn/ProgressSet - size of the progress window Jon mLipok
Description

please enlarge the window so that it will be possible to insert a longer description in two lines, especially for "maintext" parameters of ProgressSet() function.

#include <AutoItConstants.au3>

Example()

Func Example()
        ProgressOn("Progress Meter", "Increments every second", "0%", -1, -1, $DLG_MOVEABLE)
        For $i = 10 To 100 Step 10
                Sleep(1000)
                ProgressSet($i, $i & "%" & @CRLF & "pełnego odwzorowania" & @CRLF & "(puste pliki z tymi samymi nazwami)", "KROK 2/4: Tworzenie plików PDF z katalogu:" & @CRLF & @ScriptDir)
        Next
        ProgressOff()
EndFunc   ;==>Example
#3807 Fixed GUISetIcon does not display the correct icon in task bar Jon Nine
Description

#include <GUIConstantsEx.au3>

Example()

Func Example()

Local $hGUI = GUICreate("Example") GUISetIcon("shell32.dll", 228) GUISetState(@SW_SHOW, $hGUI) While 1

Switch GUIGetMsg()

Case $GUI_EVENT_CLOSE

ExitLoop

EndSwitch

WEnd

EndFunc ;==>Example

Once compiled, icon in title bar is correctly displayed. But the task bar shows a totally different icon.

#3806 Completed _GDIPlus_GraphicsDrawString() with color Jpm argumentum
Description

_GDIPlus_GraphicsDrawString() is a wrapper for _GDIPlus_GraphicsDrawStringEx(). The ability to choose a color is there but not implemented and can be easily added as a last parameter $iARGB:

Func _GDIPlus_GraphicsDrawString_wColor($hGraphics, $sString, $nX, $nY, $sFont = "Arial", $fSize = 10, $iFormat = 0, $iARGB = 0xFF000000)
	Local $hBrush = _GDIPlus_BrushCreateSolid($iARGB)
	Local $hFormat = _GDIPlus_StringFormatCreate($iFormat)
	Local $hFamily = _GDIPlus_FontFamilyCreate($sFont)
	Local $hFont = _GDIPlus_FontCreate($hFamily, $fSize)
	Local $tLayout = _GDIPlus_RectFCreate($nX, $nY, 0.0, 0.0)
	Local $aInfo = _GDIPlus_GraphicsMeasureString($hGraphics, $sString, $hFont, $tLayout, $hFormat)
	If @error Then Return SetError(@error, @extended, 0)
	Local $aResult = _GDIPlus_GraphicsDrawStringEx($hGraphics, $sString, $hFont, $aInfo[0], $hFormat, $hBrush)
	Local $iError = @error, $iExtended = @extended
	_GDIPlus_FontDispose($hFont)
	_GDIPlus_FontFamilyDispose($hFamily)
	_GDIPlus_StringFormatDispose($hFormat)
	_GDIPlus_BrushDispose($hBrush)
	Return SetError($iError, $iExtended, $aResult)
EndFunc   ;==>_GDIPlus_GraphicsDrawString
Note: See TracQuery for help on using queries.