Modify ↓
Opened 17 years ago
Closed 17 years ago
#1115 closed Bug (No Bug)
documentation for GuiCreate error
| Reported by: | martin | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.1.1 | Severity: | None |
| Keywords: | GuiCreate documentation | Cc: |
Description
The help says
You can enable window draging for GUI without $WS_CAPTION by using $WS_EX_CONTROLPARENT in the exStyle parameter.
This is not correct, or at least it is not obvious how that style helps with dragging.
MSDN says
WS_EX_CONTROLPARENT Allows the user to navigate among the child windows of the window by using the TAB key.
Attachments (0)
Note:
See TracTickets
for help on using tickets.

The documentation is correct. You're making the assumption (a reasonable assumption!) that things work like MSDN describes. Unfortunately somebody decided that it would be a good idea to overload that particular extended style to provide some custom behavior hard-coded into AutoIt.
In other words, it works as our documentation describes due to a poor design decision.