Custom Query (3926 matches)
Results (409 - 411 of 3926)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #719 | Duplicate | Problem with GuiCtrlCreateGraph | ||
| Description |
I was creating a GUI that would have a border up the left side and going along the top. When I run it it looks fine, but when I open a window on top of it and bring that window back up it adds an extra diagonal line that wasn't in the coding. |
|||
| #720 | No Bug | more GUICtrlCreateGraphic()/GUICtrlSetGraphic($GUI_GR_LINE) - repainting problem | ||
| Description |
According to this post: http://www.autoitscript.com/forum/index.php?showtopic=85334 There is BUG in repainting when you use more than one GUICtrlCreateGraphic in one GUI each with one GUICtrlSetGraphic($GUI_GR_LINE). I have example to draw inner rectangle in GUI and when you cover it by other application then after switching back is drawn one diagonal line. The line probably goes between the ends of the last two lines drawn. Example: #include <GuiConstantsEx.au3>
#include <StaticConstants.au3>
#include <misc.au3>
$space = 60
$gui = GUICreate("",@DesktopWidth,@DesktopHeight-64)
GUISetState(@SW_SHOW)
$pos = WinGetClientSize($gui)
$width = $pos[0] - 2*$space
$height = $pos[1] - 2*$space
$1 = GUICtrlCreateGraphic($space,$space,$width,1)
GUICtrlSetGraphic($1,$GUI_GR_LINE, $width, 0)
GUICtrlSetColor($1, 0x000000)
$2 = GUICtrlCreateGraphic($space,$height+$space,$width,1)
GUICtrlSetGraphic($2,$GUI_GR_LINE, $width, 0)
GUICtrlSetColor($2, 0xF000F)
$3 = GUICtrlCreateGraphic($space,$space,1,$height)
GUICtrlSetGraphic($3,$GUI_GR_LINE, 1, $height)
GUICtrlSetColor($3, 0xF000F)
$4 = GUICtrlCreateGraphic($width+$space,$space,1,$height)
GUICtrlSetGraphic($4,$GUI_GR_LINE, 1, $height)
GUICtrlSetColor($4, 0x000000)
While (not (_IsPressed("1b")))
$msg = GUIGetMsg()
WEnd
|
|||
| #721 | No Bug | _Atan2() returns wrong | ||
| Description |
It's function from Math.au3 Returns wrong for points located in third quadrant. #include <Math.au3> ConsoleWrite(_Atan2(-1, -3) & @CRLF) The result should be -2.8198420991932 but it's returning 3.46334320798644 Link to one online calculator to verify result: http://ostermiller.org/calc/calculator.html |
|||
