resizeStack msg behaves opposite to dictionary
Posted: Tue Apr 11, 2017 10:30 am
I guess this would be in line to the moveStack message behavior discussed in post "Detect the END of a stack move not that it’s moving" with the following exceptions.
All the dictionaries from LC ver 7 all the way up to the last ver 9 dictionary clearly state:
"The resizeStack message is sent AFTER the resizing is FINISHED. This means that you CANNOT prevent a stack's size from being changed by TRAPPING this message".
Unfortunately other than a few win 7 cases, all other ver of win, mac and linux send the message DURING the resizing NOT at the end of the resizing function.
So can we assume this a dictionary goof and if so, we would need to do something similar to what we did with the moveStack issue in order to execute functionality at the end of the resizing right?
I ran into this too recently since my "resizeStack" functionality related to the moveStack issue also executes functionality at the end of the resizing not during the function.
One last question. If in fact the behavior of the resizeStack message coincides with the moveStack message in that it sends the message DURING the functionality NOT at the end then does this means for both cases (moveStack and Resizestack messages) that one can now prevent a move or a resizing by TRAPPING the messages?
Thanks
All the dictionaries from LC ver 7 all the way up to the last ver 9 dictionary clearly state:
"The resizeStack message is sent AFTER the resizing is FINISHED. This means that you CANNOT prevent a stack's size from being changed by TRAPPING this message".
Unfortunately other than a few win 7 cases, all other ver of win, mac and linux send the message DURING the resizing NOT at the end of the resizing function.
So can we assume this a dictionary goof and if so, we would need to do something similar to what we did with the moveStack issue in order to execute functionality at the end of the resizing right?
I ran into this too recently since my "resizeStack" functionality related to the moveStack issue also executes functionality at the end of the resizing not during the function.
One last question. If in fact the behavior of the resizeStack message coincides with the moveStack message in that it sends the message DURING the functionality NOT at the end then does this means for both cases (moveStack and Resizestack messages) that one can now prevent a move or a resizing by TRAPPING the messages?
Thanks