Document::Deactivate Event

 

Occurs when the active document window loses focus.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

event WindowEventHandler^ Deactivate {
	void add(WindowEventHandler^ value);
	void remove(WindowEventHandler^ value);
}

The Deactivate event does not occur when you unload the document.

The following code example displays a message when the document is deactivated. This example is for an application-level add-in.

No code example is currently available or this language may not be supported.
Return to top
Show: