Community
Hi,
I have a button on Palette. On click of this button, i prompts user to select entities and i process them.
Now, I would like to cancel the above sequence when the user docks the palette.
I have subscribed onShow and onHide events of the palette and used SendStringToExecute but no luck.
Could some one help me.
Thanks,
Manoj Kumar V.
P.S. I am working on AutoCAD.NET 2007
Docking a palette will trigger AutoCAD to behave as if the user
pressed ESCape.
You can use HostApplicationServices.UserBreak() to detect
if the user pressed ESCape while your process is running.