Opened 6 years ago
Closed 6 years ago
#3741 closed Bug (Completed)
ERROR IN GUISetStyle EXAMPLE
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| Milestone: | 3.3.15.1 | Component: | AutoIt |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | GUISetStyle | Cc: |
Description
Text translated from Portuguese by google - please apologize for any errors
First I have to thank the development team for product quality and the ease with which it is possible to develop tools with AutoIt.
In 2nd place apologize for disturbing you with my comments but I found relevant the following suggestions:
Let's get to the problem ...
in the GUISetStyle function ex on line 20 we have:
{{
GUISetStyle(BitOR($WS_POPUPWINDOW, $WS_THICKFRAME), BitOR($WS_EX_CLIENTEDGE, $WS_EX_TOOLWINDOW))
}}
And while running the same is apparently all right until the user resizes the window.
When this occurs the title bar disappears and even if the user clicks the button to return to the original the window changes the border but does not redisplay the title bar.
My suggestion would be to change to:
{{
GUISetStyle(BitOR($WS_CAPTION, _ ;fixa Barra de titulo
$WS_POPUPWINDOW, _
$WS_THICKFRAME), _
BitOR($WS_EX_CLIENTEDGE, _
$WS_EX_TOOLWINDOW))
}}
Thank you for your attention
Attachments (0)
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [12233] in version: 3.3.15.1

In fact the example does not support resizing, but it is true that the click on button set no caption so no title will be display of the title in the taskbar.
So you pb is more a suggestion to help user not to be confused on potential refresh of the title bar