Modify ↓
Opened on Jun 8, 2008 at 5:46:17 AM
#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:3 by , 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:5 by , 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 , on Jun 10, 2008 at 11:10:45 AM
| Milestone: | → 3.2.13.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: 3.2.13.1
Note:
See TracTickets
for help on using tickets.

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.