Modify

Opened 3 years ago

Closed 2 years ago

Last modified 2 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 Changed 3 years ago by Jpm

  • Owner set to Jpm
  • Status changed from new to assigned

Thanks
Fix sent to Jon

comment:3 Changed 2 years ago by Jon

  • Milestone set to 3.3.15.5
  • Owner changed from Jpm to Jon
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [12631] in version: 3.3.15.5

comment:4 Changed 2 years ago by Jpm

  • Resolution Fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 2 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from reopened to closed

In fact there is noBug with all release I tested with

comment:6 Changed 2 years ago by TicketCleanup

  • Milestone 3.3.15.5 deleted

Automatic ticket cleanup.

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.