CursorHandle

 

Type

 

OLE_HANDLE

 

Description

 

When this property is set to a mouse cursor handle (HCURSOR) by the container, the control uses that cursor instead of the built-in default cursors. When set to zero (NULL), the built-in cursor is used.

 

Example

 

REM set override the default mouse cursor

WebsterPro1.CursorHandle = myCursorHandle

.

.

.

REM Revert to the built-in cursors

WebsterPro1.CursorHandle = 0

 

Remarks

 

Use this property to override the default mouse cursor or cursor handling.

 

The default cursor appears normally as an arrow, which changes to a pointing hand when over hyperlinks. When a page load is pending or in progress, an hourglass appears next to the arrow or the pointing hand wears a wristwatch.

 

A good place to substitute your own cursors via CursorHandle is in an HyperlinkTransition event handler. The IsOverLink argument indicates that the cursor is over a hyperlink when True and not over a hyperlink when False. Read the LoadStatus property to determine whether a page load is in progress.