Modify ↓
Opened 15 years ago
Closed 15 years ago
#1797 closed Bug (Wont Fix)
Critical bug with WS_CHILD
| Reported by: | hunt | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | Cc: |
Description
Compile this script with name GUI_PARENT.exe
$h_GUI = GuiCreate("GUIBUG", 400, 400, 300, 300, -1, -1)
While 1
Sleep(30)
WEnd
After compiling run GUI_PARENT.exe and after this run this script:
#include <WindowsConstants.au3>
Local $hGUI = GUICreate("1", 100, 100, 300, 300, $WS_CHILD, -1, WinGetHandle("GUIBUG"))
; if to add here GuiDelete($hGUI) then bug not occured
ProcessClose("GUI_PARENT.exe")
Sleep(1) ; or other delay method
Exit ; after this command CPU 100%
CPU loading will 100%.
This bug appears if other exe this child window will close.
Attachments (0)
Note:
See TracTickets
for help on using tickets.

You can't have a child window in another process.