CursorType Property

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

This component is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.

 

The CursorType property sets or retrieves the current cursor type.

[ iCursorType = ] MSWebDVD.CursorType

Return Value

Returns an integer value representing the cursor type.

Remarks

The possible values for this property are:

Value Description
0 Arrow
1 Zoom In
2 Zoom Out
3 Hand
-1 None

 

This property is read/write with a default value of zero. When the picture is zoomed in, setting CursorType to Hand (0x3) puts the application into drag mode, enabling the user to move the image inside the video display area.