Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#2920 closed Bug (Fixed)

No control resizing on initially hidden window

Reported by: anonymous Owned by: Jpm
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Works fine in

#include <GUIConstantsEx.au3>


Func Example()
    Local $hGUI = GUICreate(@AutoItVersion, 200, 200)
    Local $idButton1 = GUICtrlCreateButton("OK1", 0, 0, 100, 100)
    Local $idButton2 = GUICtrlCreateButton("OK2", 100, 100, 100, 100)
    GUICtrlSetResizing($idButton1, $GUI_DOCKHCENTER + $GUI_DOCKVCENTER)
    GUICtrlSetResizing($idButton2, $GUI_DOCKHCENTER + $GUI_DOCKVCENTER)
;~ 	GUISetState(@SW_HIDE, $hGUI)

    WinMove($hGUI, '', Default, Default, 400, 400)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE, $idButton1, $idButton2


Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Jpm

Doc will be change to warn that usage of WinMove() does not affect Control position/resizing before GuiSetState()

It is true that the was doing it in certain case, but current beta fixes for $WS_EX_LAYOUTRTL extended style put back the no change as it has been originally design.

comment:2 Changed 10 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11128] in version:

comment:3 Changed 9 years ago by Jpm

  • Summary changed from No conrtol resizing on initially hidden window to No control resizing on initially hidden window

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

as closed The owner will remain Jpm.

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

Note: See TracTickets for help on using tickets.