Custom Query
Results (94 - 96 of 3827)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#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 |
|||
#3805 | Fixed | Missing letter t at the end of $tagRID_DEVICE_INFO_KEYBOARD definition | Jpm | Nine |
Description |
In file WinAPISys.au3. Currently it is : Global Const $tagRID_DEVICE_INFO_KEYBOARD = 'struct;dword KbType;dword KbSubType;dword KeyboardMode;dword NumberOfFunctionKeys;dword NumberOfIndicators;dword NumberOfKeysTotal;endstruc' Should be : Global Const $tagRID_DEVICE_INFO_KEYBOARD = 'struct;dword KbType;dword KbSubType;dword KeyboardMode;dword NumberOfFunctionKeys;dword NumberOfIndicators;dword NumberOfKeysTotal;endstruct' |
|||
#3804 | Completed | _GUICtrlMenu_CreateMenu() example | Jpm | argumentum |
Description |
_GUICtrlMenu_CreateMenu() can be a blocking function, or not but, to discover that it can be a non-blocking function one has to explore the styles. In the help forum, in "Menu Pause Script"https://www.autoitscript.com/forum/topic/205044-menu-pause-script/?tab=comments#comment-1474845, I posted a example script that better demonstrates the effect of some of the styles. I'd like to replace the example from the help manual with the one on the link above. |