template< class T >
class IPointerInactiveImpl
Parameters
T Your class, derived from IPointerInactiveImpl.
An inactive object is one that is simply loaded or running. Unlike an active object, an inactive object cannot receive Windows mouse and keyboard messages. Thus, inactive objects use fewer resources and are typically more efficient.
The IPointerInactive interface allows an object to support a minimal level of mouse interaction while remaining inactive. This functionality is particularly useful for controls.
Class IPointerInactiveImpl implements the IPointerInactive methods by simply returning E_NOTIMPL. However, it implements IUnknown by sending information to the dump device in debug builds.
Related Articles ATL Tutorial, Creating an ATL Project
#include <atlctl.h>
See Also IPointerInactive in the Win32 SDK
IPointerInactive Methods | |
GetActivationPolicy | Retrieves the current activation policy for the object. The ATL implementation returns E_NOTIMPL. |
OnInactiveMouseMove | Notifies the object that the mouse pointer has moved over it, indicating the object can fire mouse events. The ATL implementation returns E_NOTIMPL. |
OnInactiveSetCursor | Sets the mouse pointer for the inactive object. The ATL implementation returns E_NOTIMPL. |
HRESULT GetActivationPolicy( DWORD* pdwPolicy );
See IPointerInactive::GetActivationPolicy in the Win32 SDK.
Remarks
Returns E_NOTIMPL.
IPointerInactiveImpl Overview | Class Members
HRESULT OnInactiveMouseMove( LPCRECT pRectBounds, long x, long y, DWORD dwMouseMsg );
See IPointerInactive::OnInactiveMouseMove in the Win32 SDK.
Remarks
Returns E_NOTIMPL.
IPointerInactiveImpl Overview | Class Members
See IPointerInactive::OnInactiveSetCursor in the Win32 SDK.
Remarks
Returns E_NOTIMPL.