Opened 5 years ago
Closed 5 years ago
#3741 closed Bug (Completed)
ERROR IN GUISetStyle EXAMPLE
Reported by: | odaylton.prof@… | Owned by: | Jpm |
---|---|---|---|
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 Changed 5 years ago by Jpm
comment:2 Changed 5 years ago by Jpm
- Milestone set to 3.3.15.1
- Owner set to Jpm
- Resolution set to Completed
- Status changed from new to closed
Added by revision [12233] in version: 3.3.15.1
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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