Modify

Opened 11 years ago

Closed 11 years ago

#2624 closed Feature Request (Rejected)

GUIUnRegisterMsg

Reported by: asdf8 Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

GUIRegisterMsg function is not practically possible to use in UDF.
If organize to function GUIRegisterMsg call stack and add function GUIUnRegisterMsg, AutoIt users could more fully use the GUIRegisterMsg.
Now function GUIRegisterMsg often avoided and enjoy subсlassing.

Attachments (0)

Change History (4)

comment:1 follow-up: Changed 11 years ago by Melba23

"GUIRegisterMsg function is not practically possible to use in UDF"

Absolute nonsense - most of my UDFs use GUIRegisterMsg and are perfectly compatible with any script if they are used correctly.

The trick is to create separate handler functions which can be called from with an existing message handler and provide an initial registering function that allows the user to register only those messages which are not already registered in the script. Take a look at my GUIListViewEx UDF for examples of how this is done.

M23

comment:2 in reply to: ↑ 1 Changed 11 years ago by asdf8

Replying to Melba23:

Absolute nonsense - most of my UDFs use GUIRegisterMsg and are perfectly compatible with any script if they are used correctly.

For example: try to function _ArrayDisplay of UDF Array.au3 instead of buttons to select the copy mode cells to implement a context menu for cell - if this used GUIRegisterMsg heap bugreports from users will not force itself to wait. Will explain each trick, how to get out of this situation?

comment:3 Changed 11 years ago by Melba23

I am afraid that yoru reply makes no sense to me at all.

And this ticket is not the place to start discussing how a standard UDF can be modified to justify your initial request - I suggest that you open thread on the forum where the subject can be discussed in detail. I am closing this ticket and you can open another if the situation warrants it after the forum discussion.

M23

comment:4 Changed 11 years ago by Melba23

  • Resolution set to Rejected
  • Status changed from new to closed

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 closed 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.