Modify

Opened 6 years ago

Last modified 6 years ago

#2684 new Feature Request

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 (6)

comment:1 Changed 6 years ago by TicketCleanup

  • Version 3.3.8.1 deleted

Automatic ticket cleanup.

comment:2 follow-up: Changed 6 years ago by 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

comment:3 in reply to: ↑ 2 Changed 6 years ago by anonymous

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.

comment:4 follow-up: Changed 6 years ago by BrewManNH

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 in reply to: ↑ 4 Changed 6 years ago by anonymous

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 Changed 6 years ago by BrewManNH

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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as new The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.