Modify

Opened 12 years ago

Closed 6 years ago

#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 TicketCleanup, 12 years ago

Version: 3.3.8.1

Automatic ticket cleanup.

comment:2 by BrewManNH, 12 years ago

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

in reply to:  2 comment:3 by anonymous, 12 years ago

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 by BrewManNH, 12 years ago

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?

in reply to:  4 comment:5 by anonymous, 12 years ago

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 BrewManNH, 12 years ago

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 J-Paul Mesnage, 6 years ago

Resolution: Rejected
Status: newclosed

As no repro script was provided I close it
Sorry

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.