Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (109 - 111 of 3866)

Ticket Resolution Summary Owner Reporter
#3835 Fixed Replace constants with magic numbers Jpm anonymous
Description

Constants are already declared, but not used in the documentation.

TraySetClick

$TRAY_CLICK_SHOW
$TRAY_CLICK_PRIMARYDOWN
$TRAY_CLICK_PRIMARYUP
$TRAY_DBLCLICK_PRIMARY
$TRAY_CLICK_SECONDARYDOWN
$TRAY_CLICK_SECONDARYUP
$TRAY_DBLCLICK_SECONDARY
$TRAY_CLICK_HOVERING

_GDIPlus_GraphicsSetCompositingMode

$GDIP_COMPOSITINGMODESOURCEOVER
$GDIP_COMPOSITINGMODESOURCECOPY

_GDIPlus_GraphicsSetCompositingQuality

$GDIP_COMPOSITINGQUALITYDEFAULT
$GDIP_COMPOSITINGQUALITYHIGHSPEED
$GDIP_COMPOSITINGQUALITYHIGHQUALITY
$GDIP_COMPOSITINGQUALITYGAMMACORRECTED
$GDIP_COMPOSITINGQUALITYASSUMELINEAR

_GDIPlus_GraphicsSetInterpolationMode

$GDIP_INTERPOLATIONMODE_DEFAULT
$GDIP_INTERPOLATIONMODE_LOWQUALITY
$GDIP_INTERPOLATIONMODE_HIGHQUALITY
$GDIP_INTERPOLATIONMODE_BILINEAR
$GDIP_INTERPOLATIONMODE_BICUBIC
$GDIP_INTERPOLATIONMODE_NEARESTNEIGHBOR
$GDIP_INTERPOLATIONMODE_HIGHQUALITYBILINEAR
$GDIP_INTERPOLATIONMODE_HIGHQUALITYBICUBIC

_GDIPlus_GraphicsSetPixelOffsetMode

$GDIP_PIXELOFFSETMODE_DEFAULT
$GDIP_PIXELOFFSETMODE_HIGHSPEED
$GDIP_PIXELOFFSETMODE_HIGHQUALITY
$GDIP_PIXELOFFSETMODE_NONE
$GDIP_PIXELOFFSETMODE_HALF

_GDIPlus_GraphicsSetSmoothingMode

$GDIP_SMOOTHINGMODE_DEFAULT
$GDIP_SMOOTHINGMODE_HIGHSPEED
$GDIP_SMOOTHINGMODE_HIGHQUALITY 
$GDIP_SMOOTHINGMODE_NONE
$GDIP_SMOOTHINGMODE_ANTIALIAS8X4
$GDIP_SMOOTHINGMODE_ANTIALIAS
$GDIP_SMOOTHINGMODE_ANTIALIAS8X8

_GDIPlus_GraphicsSetTextRenderingHint

$GDIP_TEXTRENDERINGHINT_SYSTEMDEFAULT
$GDIP_TEXTRENDERINGHINT_SINGLEBITPERPIXELGRIDFIT
$GDIP_TEXTRENDERINGHINT_SINGLEBITPERPIXEL
$GDIP_TEXTRENDERINGHINT_ANTIALIASGRIDFIT
$GDIP_TEXTRENDERINGHINT_ANTIALIAS
$GDIP_TEXTRENDERINGHINT_CLEARTYPEGRIDFIT

+ Remove duplicates

$GDIP_TextRenderingHintSystemDefault
$GDIP_TextRenderingHintSingleBitPerPixelGridFit
$GDIP_TextRenderingHintSingleBitPerPixel
$GDIP_TextRenderingHintAntialiasGridFit
$GDIP_TextRenderingHintAntialias
$GDIP_TextRenderingHintClearTypeGridFit

AutoIt Version: 3.3.14.5 / 3.3.15.4

#3834 Fixed VarGetType documentation kAnon
Description

The example for "VarGetType" uses a map that is not implemented. This raises the error "Variable subscript badly formatted."

#3833 Fixed _WinAPI_RegisterRawInputDevices and $iCount parameter Jpm kAnon
Description

The cbSize parameter is calculated incorrectly if $iCount is greater than 1. Multiplication by $ iCount is unnecessary.

#include <WinAPISys.au3>
#include <GUIConstants.au3>
#include <GuiEdit.au3>

Global $g_idEdit
test()

Func test()
    Local $tRAWINPUTDEVICEs = DllStructCreate('struct;ushort UsagePage1;ushort Usage1;dword Flags1;hwnd hTarget1;endstruct;' & _
            'struct;ushort UsagePage2;ushort Usage2;dword Flags2;hwnd hTarget2;endstruct')
    DllStructSetData($tRAWINPUTDEVICEs, 'UsagePage1', 0x01)
    DllStructSetData($tRAWINPUTDEVICEs, 'Usage1', 0x02)
    DllStructSetData($tRAWINPUTDEVICEs, 'Flags1', $RIDEV_INPUTSINK)
    DllStructSetData($tRAWINPUTDEVICEs, 'hTarget1', GUICreate(''))
    DllStructSetData($tRAWINPUTDEVICEs, 'UsagePage2', 0x01)
    DllStructSetData($tRAWINPUTDEVICEs, 'Usage2', 0x06)
    DllStructSetData($tRAWINPUTDEVICEs, 'Flags2', $RIDEV_INPUTSINK)
    DllStructSetData($tRAWINPUTDEVICEs, 'hTarget2', GUICreate(''))

    ConsoleWrite('_WinAPI_RegisterRawInputDevices: ' & _WinAPI_RegisterRawInputDevices($tRAWINPUTDEVICEs, 2) & @CRLF)  ; error
    _WinAPI_RegisterRawInputDevicesFixed($tRAWINPUTDEVICEs, 2) ; work

    GUICreate('', 400, 400, -1, -1, -1, $WS_EX_TOPMOST)
    $g_idEdit = GUICtrlCreateEdit('', 10, 10, 380, 380)
    GUIRegisterMsg($WM_INPUT, WM_INPUT)
    GUISetState()

    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
EndFunc   ;==>test

Func WM_INPUT($hGui, $iMsg, $wParam, $lParam)
    #forceref $hGui, $iMsg, $wParam, $lParam
    Local $tRAWINPUTHEADER = DllStructCreate($tagRAWINPUTHEADER)
    _WinAPI_GetRawInputData($lParam, $tRAWINPUTHEADER, DllStructGetSize($tRAWINPUTHEADER), $RID_HEADER)
    Switch DllStructGetData($tRAWINPUTHEADER, 'Type')
        Case $RIM_TYPEMOUSE
            Local $tRAWINPUTMOUSE = DllStructCreate($tagRAWINPUTMOUSE)
            _WinAPI_GetRawInputData($lParam, $tRAWINPUTMOUSE, DllStructGetSize($tRAWINPUTMOUSE), $RID_INPUT)
            If DllStructGetData($tRAWINPUTMOUSE, 'ButtonFlags') Then _GUICtrlEdit_AppendText($g_idEdit, 'RIM_TYPEMOUSE' & @CRLF)
        Case $RIM_TYPEKEYBOARD
            _GUICtrlEdit_AppendText($g_idEdit, 'RIM_TYPEKEYBOARD' & @CRLF)
    EndSwitch
EndFunc   ;==>WM_INPUT

Func _WinAPI_RegisterRawInputDevicesFixed($paDevice, $iCount = 1)
    Local $aRet = DllCall('user32.dll', 'bool', 'RegisterRawInputDevices', 'struct*', $paDevice, 'uint', $iCount, _
            'uint', DllStructGetSize(DllStructCreate($tagRAWINPUTDEVICE)))
    If @error Or Not $aRet[0] Then Return SetError(@error, @extended, 0)

    Return $aRet[0]
EndFunc   ;==>_WinAPI_RegisterRawInputDevicesFixed

Windows 10 Pro 21H1 x64 AutoIt Version: 3.3.14.5 / 3.3.15.4

Note: See TracQuery for help on using queries.