Modify ↓
#3831 closed Bug (No Bug)
GUICtrlSetPos and $GUI_DOCKHCENTER
| Reported by: | kAnon | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.14.5 | Severity: | None |
| Keywords: | Cc: |
Description
Using GUICtrlSetPos on elements with $GUI_DOCKHCENTER set does not work correctly.
#include <GUIConstants.au3> test() Func test() GUICreate('', 400, 400, -1, -1, $WS_OVERLAPPEDWINDOW, $WS_EX_WINDOWEDGE) Local $idButton_SetPos = GUICtrlCreateButton('GUICtrlSetPos', 20, 20, 360, 40) GUICtrlSetResizing(-1, BitOR($GUI_DOCKTOP, $GUI_DOCKHCENTER, $GUI_DOCKSIZE)) GUISetState() While True Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $idButton_SetPos GUICtrlSetPos($idButton_SetPos, 50, 50, 300) EndSwitch WEnd EndFunc ;==>test
Windows 10 Pro 21H1 x64
AutoIt Version: 3.3.14.5 / 3.3.15.4
Attachments (0)
Change History (6)
comment:1 by , 5 years ago
comment:3 by , 4 years ago
| Milestone: | → 3.3.15.5 |
|---|---|
| Owner: | changed from to |
| Resolution: | → Fixed |
| Status: | assigned → closed |
Fixed by revision [12631] in version: 3.3.15.5
comment:4 by , 4 years ago
| Resolution: | Fixed |
|---|---|
| Status: | closed → reopened |
comment:5 by , 4 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | reopened → closed |
In fact there is noBug with all release I tested with
Note:
See TracTickets
for help on using tickets.

Error reproduction