I wrote a vsto word addins, and I create a customTaskPane control to show some messages or web page, but I found there is no way to disable close/resize button on taskpane. so that we cannot suspend customer's close action.Do anyone know how to disable it and use own buttons?
Use custom task pane visible and unvisible events, but it happeds after taskpane hided.