VIDEO.cursor
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The cursor attribute specifies or retrieves the cursor value that is used when the mouse is over a clickable area of the video.
elementID.cursor
Possible Values
This attribute is a read/write String.
Value | Description |
---|---|
system | Platform-dependent cursor (usually an arrow). |
hand | Hand. |
help | Arrow with question mark indicating Help is available. |
sizeall | Four-pointed arrow pointing north, south, east, and west. |
sizenesw | Double-pointed arrow pointing northeast and southwest. |
sizens | Double-pointed arrow pointing north and south. |
sizenwse | Double-pointed arrow pointing northwest and southeast. |
sizewe | Double-pointed arrow pointing west and east. |
uparrow | Vertical arrow pointing upward. |
*.ani or *.cur | Any .ani or .cur file (must be in the same directory as the .wms file or in the .wmz file). |
Remarks
For rendering purposes, system is the default cursor. The default value retrieved from this attribute is "" (empty string).
Requirements
Requirement | Value |
---|---|
Version |
Windows Media Player version 7.0 or later |