Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (109 - 111 of 3875)

Ticket Resolution Summary Owner Reporter
#720 No Bug more GUICtrlCreateGraphic()/GUICtrlSetGraphic($GUI_GR_LINE) - repainting problem anonymous
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
#589 Fixed mixed compare result, bools and values. Valik anonymous
Description
;; AutoIt Version: 3.2.12.1 / 3.2.13.7
ConsoleWrite('(1=1) = ' & (1=1) & @CRLF)
ConsoleWrite('(1<>1) = ' & (1<>1) & @CRLF)
ConsoleWrite('(1=2) = ' & (1=2) & @CRLF)
ConsoleWrite('(1<>2) = ' & (1<>2) & @CRLF)
ConsoleWrite('(1<2) = ' & (1<2) & @CRLF)
ConsoleWrite('(1>2) = ' & (1>2) & @CRLF)
ConsoleWrite('(1<=2) = ' & (1<=2) & @CRLF)
ConsoleWrite('(1>=2) = ' & (1>=2) & @CRLF)
#cs 
Output:
(1=1) = True
(1<>1) = False
(1=2) = False
(1<>2) = True
(1<2) = 1
(1>2) = 0
(1<=2) = 1
(1>=2) = 0
Comment1: kinda expected all the tests to return real-Bools.
Comment2: I know, Trivial.
#ce
#2715 Fixed mistake in helpfile Melba23 rav_kr
Description

There is small mistake in comment in the example on page http://www.autoitscript.com/autoit3/docs/libfunctions/_GDIPlus_ImageScale.htm

Local Const $iW = @DesktopWidth / 4, $iH = @DesktopHeight / 4
Local $hHBmp = _ScreenCapture_Capture("", 0, 0, $iW, $iH) ;create a GDI bitmap by capturing 1/8 of desktop

it's not 1/8 but 1/16 of desktop (4*4=16 not 8)

Note: See TracQuery for help on using queries.