quote:
Originally posted by MeEtc
quote:
Originally posted by markee
Time for some bumping. Anyway, I found something that I'd like. The ability to cancel the closing of a Plus Window. Something like returning false to the OnWindowidEvent_Destroyed function would suffice I think. This way I could just hide the window for a moment even if the user has tried to close the window through the task bar or the X in the corner or something.
This is already possible, using OnWindowidEvent_Cancelquote:
Originally posted by Scripting docs
Return Value
A boolean value used by Messenger Plus! to ignore the request. If the function returns true, the cancel request is ignored, if it returns false (default the event is not handled), the window is destroyed.
And this is why we need a single page with every event, method and property, with a brief description and the minimum version number for each (in both a-z listing, a-z in their types and in their versions). This would also make it easy to notice updates when a new version comes out. I know it isn't an API request as such but it would make it easier. And why did we need 2 functions for this feature as well?
ExitCode === 2 tells us that it was one of these other methods of closing the window doesn't it? Maybe Patchou just wanted to jerk us scripters about