Custom Query
Results (70 - 72 of 3883)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#2362 | Fixed | ControlGetText, WinGetTitle sometimes reads ANSI as Wide | Jon | Ascend4nt@… |
Description |
Sometimes ControlGetText or WinGetTitle will return characters that display as a mess of '?'s (in Console output). This is because of an issue with SendMessage with WM_GETTEXT. Windows will sometimes return ANSI strings, and return the # of bytes rather than characters. AutoIt internally assumes this is Unicode and treats it as such - so it displays incorrectly. To overcome this problem, zero out a buffer, fill it with WM_GETTEXT, then do a simple wcslen() on the return to compare it to the length that WM_GETTEXT returns. It should be roughly half the size if it is an ANSI string (you need to take into account odd # returns here). I wrote script code that works around this problem, see: www.autoitscript.com/forum/topic/148411-fix-for-unreadable-text-from-wingettext-controlgettext/ |
|||
#2378 | Fixed | BITMAPV4HEADER and BITMAPV5HEADER Structures incorrect | guinness | Ascend4nt@… |
Description |
In the <WinAPIGdi.au3> header the definitions for BITMAPV4HEADER and BITMAPV5HEADER are incorrect. For bV4Endpoints and bV5Endpoints, the structure lists these as an array of 3 ints. What it should be really is an array of 9 ints for both. The relevant links which show the structures: BITMAPV4HEADER http://msdn.microsoft.com/en-us/library/windows/desktop/dd183380%28v=vs.85%29.aspx BITMAPV5HEADER http://msdn.microsoft.com/en-us/library/windows/desktop/dd183381%28v=vs.85%29.aspx CIEXYZTRIPLE http://msdn.microsoft.com/en-us/library/windows/desktop/dd371833%28v=vs.85%29.aspx CIEXYZ http://msdn.microsoft.com/en-us/library/windows/desktop/dd371828%28v=vs.85%29.aspx FXPT2DOT30 No official link on this, but the Windows API has this defined as long in the <WinGDI.h> header: typedef long FXPT2DOT30, FAR *LPFXPT2DOT30; So basically the EndPoints member type is 3 structures of 3 longs, so those arrays needs to be [9]. |
|||
#856 | Completed | _StringAddThousandsSep() prefixes some #'s with , | Ascendant | |
Description |
During testing, this UDF sometimes puts a ',' at the beginning of a number which isn't correct. For example, the below results in -,123,456,789,012,345.67890: #include <String.au3> MsgBox(16,"_StringAddThousandsSep() faulty reult", _ "Result of _StringAddThousandsSep('-123456789012345.67890'): "& _ _StringAddThousandsSep('-123456789012345.67890')) _DebugBugReportEnv() Result:
|