Modify

#355 closed Bug (Fixed)

Child dialogs not visible

Reported by: Ultima Owned by: J-Paul Mesnage
Milestone: 3.2.13.1 Component: AutoIt
Version: 3.2.13.0 Severity: None
Keywords: Cc:

Description

Global $hParent = GUICreate("Parent", 320, 240)
Global $hChild = GUICreate("Child", 200, 150, Default, Default, Default, Default, $hParent)

GUISetState(@SW_SHOW, $hParent)
GUISetState(@SW_SHOW, $hChild)

Do
Until GUIGetMsg() = -3

Expected behavior: The child dialog should be displayed
Observed behavior: The child dialog is completely missing

Attachments (0)

Change History (6)

comment:1 by Valik, on Jun 8, 2008 at 3:17:31 PM

Very strange. I can see the non-client area (though this may be because I'm using WindowBlinds). The client area is fully transparent. The child appears to the lower right of the parent by quite a bit. It also won't let me move the mouse outside the client area of the parent while I'm dragging the child. I can drag the child around but I'm bound by the client area of the parent.

comment:3 by Jon, on Jun 9, 2008 at 5:59:24 PM

Odd, this works:

Global $hParent = GUICreate("Parent", 320, 240)

GUISetState(@SW_SHOW, $hParent)
Global $hChild = GUICreate("Child", 200, 150, Default, Default, Default, Default, $hParent)
GUISetState(@SW_SHOW, $hChild)

Do
Until GUIGetMsg() = -3

I know jp/us mess around with GuiSetState almost every build so we've probably messed up something.

comment:4 by anonymous, on Jun 9, 2008 at 11:05:13 PM

Jon's posted code doesn't work for me in beta .13.0

comment:5 by Gary, on Jun 10, 2008 at 10:18:10 AM

Jon your code doesn't work correctly for me in 3.2.13.0 on WinXP Pro SP3. Child window still doesn't show.

comment:6 by J-Paul Mesnage, on Jun 10, 2008 at 10:38:26 AM

the regression is due to rev 3456

comment:6 by J-Paul Mesnage, on Jun 10, 2008 at 11:10:45 AM

Milestone: 3.2.13.1
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.1

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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