IDirectManipulationManager::Deactivate method (directmanipulation.h)

Deactivates Direct Manipulation for processing input and handling callbacks on the specified window.

Syntax

HRESULT Deactivate(
  [in] HWND window
);

Parameters

[in] window

The window in which to deactivate input.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The manipulation manager is deactivated by default. The manager does not receive or respond to input until Activate is called. The manipulation manager should be deactivated when the app does not receive or respond to input. For example, when the app is minimized.

Calls to Activate and Deactivate are reference counted.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header directmanipulation.h

See also

IDirectManipulationManager