Hi,
I am porting a plug-in from CS4 to CS5 and CS5.5. My plug-in works perfectly fine in CS4.
In CS5 I have created a UI plug-in.
I have implemented command interceptor in which we intercept kResizeItemsCmdBoss and we display an alert message asking user to continue with resize or not.
In CS4, when the user resize the page item by dragging then we only got a single call in command intercetor and that too when the user have released the mouse.
But in CS5, we get multiple call for kResizeItemsCmdBoss and that when the user is resizing by dragging. After the Alert is displayed InDesign Crashes. If we don't display any Alert then there is no crash.
May be in CS5, I need to intercept some other command ?
A temporary quick fix, I have done is that in Command Interceptor, I have added a check IEventUtils->IsMouseButtonDown then we return kNotHandled. But this also causes problems when we resize the page item by dragging fast.
I think its a very common requirement and many developers must have fixed it.
Any help will be appreciated.
Regards,
Don
North America
Europe, Middle East and Africa
Asia Pacific