Modify ↓
Opened 15 years ago
Closed 14 years ago
#1866 closed Bug (Wont Fix)
GUI $WS_EX_MDICHILD Top Alignment bug
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | Cc: |
Description
#include <WindowsConstants.au3>
$parent = GUICreate("Parent", 50, 50, 0, -3, $WS_POPUP, $WS_EX_LAYERED)
$child = GUICreate("Child", 50, 50, 0, 5, $WS_POPUP, $WS_EX_MDICHILD, $parent)
GUISetBkColor("0x000000")
GUISetState()
While 1
WEnd
Results in a window in the middle of the screen
As does
Main window top, child window top
2,0
0,2
-1,3
-2,4
etc...
Add the parent top and the child top if equals 2 then window is drawn in the middle of the screen.
Attachments (0)
Note:
See TracTickets
for help on using tickets.

If anyone sees any sense in this then please make another report.