#2684 closed Feature Request (Rejected)
Remove drag behavior of WS_EX_CONTROLPARENT
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
With the appearance of $GUI_WS_EX_PARENTDRAG, I think it logical to remove unique drag behavior of $WS_EX_CONTROLPARENT in AutoIT.
Attachments (0)
Change History (7)
comment:1 by , on Mar 18, 2014 at 6:00:02 AM
| Version: | 3.3.8.1 |
|---|
follow-up: 3 comment:2 by , on Mar 19, 2014 at 2:13:45 PM
WS_EX_CONTROLPARENT is a real Microsoft Windows extended style, $GUI_WS_EX_PARENTDRAG is a made up variable name unique to AutoIt. You shouldn't remove the functionality of a valid extended style just because it overlaps something else.
What I would suggest though is to correct the help file about the parentdrag variable, because it's not in WindowsConstants.au3, it's in GUIConstantsEx.au3
comment:3 by , on Mar 19, 2014 at 2:52:43 PM
Replying to BrewManNH:
WS_EX_CONTROLPARENT is a real Microsoft Windows extended style, $GUI_WS_EX_PARENTDRAG is a made up variable name unique to AutoIt. You shouldn't remove the functionality of a valid extended style just because it overlaps something else.
What I would suggest though is to correct the help file about the parentdrag variable, because it's not in WindowsConstants.au3, it's in GUIConstantsEx.au3
I don't mean remove WS_EX_CONTROLPARENT 's functionality. WS_EX_CONTROLPARENT indicate that the child window's controls should be treat that its parent's control. If you do not specify this style when create the child window, its controls will never been focus using tab key.
AutoIT add the feature that when you create a window with $WS_EX_CONTROLPARENT, you can drag/drop the window not only using the titlebar but all the client area.
I think this feature is a little annoying with people who interested in using child window. But remove a working feature may break many applications, so I think this should be changed but in a large update rather than a small update.
follow-up: 5 comment:4 by , on Mar 21, 2014 at 3:57:12 PM
Can you post a script that demonstrates what it is you're referring to? Are you sure that it's AutoIt that has added that or perhaps it is how you're implementing it?
comment:5 by , on Mar 21, 2014 at 5:17:01 PM
Replying to BrewManNH:
Please read the document on GUICreate(). I cannot know how to explain this more clearly.
This is definitely an AutoIT unique 'feature'.
comment:6 by , on Mar 22, 2014 at 3:22:17 AM
I have read the remarks section, it states that you can drag a window using that extended style, it says no where that dragging a window using it is unique to autoit. That's why I asked for a reproducer. I'll leave it to the devs to make the call on this one as I don't have the knowledge of the inner workings to say anything about it.
comment:7 by , on Aug 12, 2020 at 11:28:01 AM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
As no repro script was provided I close it
Sorry

Automatic ticket cleanup.