IMMPositionChangeEvent

The IMMPositionChangeEvent class is the class for position change events. They get generated when you start position tracking for a device and the position of the device changes. Use startPositionTracking to cause these events to be generated.


IMMPositionChangeEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~IMMPositionChangeEvent
public:
virtual ~IMMPositionChangeEvent()

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
IMMPositionChangeEvent
public:
IMMPositionChangeEvent(const IEvent& event)

Although you can construct objects of this class, typically IMMDeviceHandler::dispatchHandlerEvent creates objects of this class from an object of the class IEvent or another IMMPositionChangeEvent object.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Event Information

Use these members to return the position, device, and user parameter for the device that generated this event.


[view class]
device
public:
IMMDevice* device() const

Returns a pointer to the device whose position is changing.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
position
public:
IMMTime position() const

Returns the position at the time the event was generated.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
userParameter
public:
unsigned short userParameter() const

Returns the user parameter that was set at the time of this event. See IMMDevice::setUserParameter for more information.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IMMPositionChangeEvent - Inherited Member Functions and Data

Inherited Public Functions

IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data