Opened 12 years ago
Closed 12 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)
follow-up: 2 comment:1 by , 12 years ago
comment:2 by , 12 years ago
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 by , 12 years ago
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 by , 12 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |

"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