Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#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:2 by J-Paul Mesnage, 5 years ago

Owner: set to J-Paul Mesnage
Status: newassigned

Thanks
Fix sent to Jon

comment:3 by Jon, 4 years ago

Milestone: 3.3.15.5
Owner: changed from J-Paul Mesnage to Jon
Resolution: Fixed
Status: assignedclosed

Fixed by revision [12631] in version: 3.3.15.5

comment:4 by J-Paul Mesnage, 4 years ago

Resolution: Fixed
Status: closedreopened

comment:5 by J-Paul Mesnage, 4 years ago

Resolution: No Bug
Status: reopenedclosed

In fact there is noBug with all release I tested with

comment:6 by TicketCleanup, 4 years ago

Milestone: 3.3.15.5

Automatic ticket cleanup.

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.