Is there a way to prevent a ToolWindow from being closed?

Posted by brunoqc on Stack Overflow See other posts from Stack Overflow or by brunoqc
Published on 2010-02-04T15:31:48Z Indexed on 2010/05/07 5:28 UTC
Read the original article Hit count: 156

Filed under:
|
|
|
|

Is there a way to hide the "X" closing icon of a ToolWindow or is there a way to use IVsWindowFrameNotify3's OnShow method to discard (ignore) the event?

It seems that the OnClose method is called only when VS exit. When the ToolWindow is called, the OnShow method is called with the __FRAMESHOW.FRAMESHOW_WinHidden state.

thanks

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about vsx