Custom Query
Results (154 - 156 of 3883)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#3994 | No Bug | AutoIT crashes in IsDeclared if $vVar is not declared | torchrish@… | |
Description |
#include-once #include <AutoItConstants.au3> If IsDeclared($vVar) <> $DECLARED_UNKNOWN Then Exit(-1) |
|||
#892 | Rejected | Request for ControlGetColor, ControlGetBkColor | tony_balony_1960@… | |
Description |
I've seen a bit of call for this and tried many suggestions and even made my own. It works, sort of, but sometimes gives erroneous results. Of course I used PixelSearch for it, what else could I do with an external application. Even tried the WinAPI Redraw Window thingy someone thought up, but it only seems to work locally, (on running autoit apps, not externally). This is what I think would be nice to have: ControlGetColor(WinTitle, WinText, ControlHandle) Results: Returns the foreground color of a control ControlGetBkColor(WinTitle, WinText, ControlHandle) Results: Returns the background color of a control WinGetColor(WinTitle, WinText) Results: Returns an array of colors for all controls in a window, ie: Array[0][0]=Number of elements Array[1][0]=Control Handle, 1st element Array[1][1]=Background color Array[1][2]=Foreground color Array[2][0]=Control Handle, 2nd element... WinGetBkColor(WinTitle, WinText) Results: Returns the background color of a window That's it. That's my 2 cents worth. BTW, I have to mention that I am very grateful and happy for a programming language as versitile, and FREE, as this. Thanks to you guys. Keep up the great work. |
|||
#2187 | Completed | Unexpected Result in _GUICtrlRichEdit_Create | guinness | tom_lyo@… |
Description |
In the _GUICtrlRichEdit_Create function, there is : If Not _WinAPI_IsClassName($hWnd, $_GRE_sRTFClassName) Then Return SetError(1, 0, 0) Mean : RichTextEdit can only be created in RichTextEdit window (i think this line must be deleted) We actualy can make only one RichTextEdit because $_GRE_sRTFClassName is Set Inside _GUICtrlRichEdit_Create function, so if we call it a second time, RichTextEdit isn't created. By the way (in the same function) : If Not _ _GCR_IsNumeric($iLeft, ">=0") Then Return SetError(103, 0, 0) If Not _ _GCR_IsNumeric($iTop, ">=0") Then Return SetError(104, 0, 0) i think ">=0" must be deleted too why force RichTextEdit to be on positive position ? (I made a space between the too _ to avoid underline effect) |