I'd use DocumentBecameCurrent, instead of DocumentActivated: DocumentActivated also fires when the MdiActiveDocument is not changed, such as when a modal dialog box or a message box is dismissed, in this case, it may not be necessary to refreshing the Palette view