Opened 13 years ago
Closed 13 years ago
#2350 closed Bug (Fixed)
Strange issue when using $SS_ETCHEDVERT and $SS_ETCHEDHORZ
| Reported by: | BrewManNH | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.9.10 | Component: | AutoIt |
| Version: | 3.3.9.4 | Severity: | None |
| Keywords: | Cc: |
Description
If you run the code below, you will see that $SS_ETCHEDVERT will create a static control 2 pixels wide on the left side of where the label control is supposed to be. If you minimize the window, and then restore the it, the appearance of the label has changed to appear to be using the $SS_ETCHEDFRAME style. Using the AU3Info tool I can see that the control's style doesn't change, just the appearance. If you uncomment any of the other lines that use the GUICtrlCreateLabel function, and comment the *VERT line, you will see it happens with the *HORZ style as well.
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
Example()
Func Example()
Local $widthCell, $msg
GUICreate("My GUI")
$widthCell = 70
;~ GUICtrlCreateLabel("Line 1 Cell 1", 10, 30, $widthCell, 80, $SS_ETCHEDHORZ)
GUICtrlCreateLabel("Line 1 Cell 1", 10, 30, $widthCell, 80, $SS_ETCHEDVERT)
;~ GUICtrlCreateLabel("Line 1 Cell 1", 10, 30, $widthCell, 80, $SS_ETCHEDFRAME)
GUISetState()
Do
$msg = GUIGetMsg()
Until $msg = $GUI_EVENT_CLOSE
EndFunc ;==>Example
This occurs using AutoIt 3.3.8.1 and 3.3.9.4
Attachments (0)
Change History (1)
comment:1 by , 13 years ago
| Milestone: | → 3.3.9.10 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |

Fixed by revision [8061] in version: 3.3.9.10