CursorType Property

Returns or sets a Long value specifying the cursor type.

Syntax

MediaPlayer.CursorType

Settings

You can specify the cursor's icon when it is over the control by setting CursorType to any of the stock cursor values from the Microsoft Win32® SDK:

Name Value Description
IDC_APPSTARTING 32650 Standard arrow and small hourglass
IDC_ARROW 32512 Standard arrow
IDC_CROSS 32515 Crosshair
IDC_IBEAM 32513 Text I-beam
IDC_NO 32648 Slashed circle
IDC_SIZEALL 32646 Four-pointed arrow
IDC_SIZENESW 32643 Double-pointed arrow pointing northeast and southwest
IDC_SIZENS 32645 Double-pointed arrow pointing north and south
IDC_SIZENWSE 32642 Double-pointed arrow pointing northwest and southeast
IDC_SIZEWE 32644 Double-pointed arrow pointing west and east
IDC_UPARROW 32516 Vertical arrow
IDC_WAIT 32514 Hourglass
IDC_HAND 1 Hand with pointing index finger

Note   IDC_HAND is not a stock cursor, but is included with the control.

The default value of this property is 0, which represents a hand with a pointing index finger if no file is loaded, and a standard arrow if a file is loaded.

If ClickToPlay is True, the arrow changes to a hand when it is over the image display window to signify a click option to the user.

See Also

ClickToPlay

© 1996-1998 Microsoft Corporation. All rights reserved.