IDirectManipulationManager::Deactivate method

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

Syntax


HRESULT Deactivate(
  [in]  HWND window
);

Parameters

window [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationManager is defined as FBF5D3B4-70C7-4163-9322-5A6F660D6FBC

See also

IDirectManipulationManager

 

 

Community Additions

ADD
Show:
© 2014 Microsoft