PreviewSetCursor Method (MFPreviewClass)
channel ID. By default use empty string
cursor type
Sets a cursor for a preview
Syntax
Public Overridable Sub PreviewSetCursor( _
   ByVal _bsChannelID As String, _
   ByVal _eCursor As eMCursorType _
) 
public virtual void PreviewSetCursor( 
   string _bsChannelID,
   eMCursorType _eCursor
)
public procedure PreviewSetCursor( 
    _bsChannelID: String;
    _eCursor: eMCursorType
); virtual; 
public: virtual void PreviewSetCursor( 
   BSTR* _bsChannelID,
   eMCursorType _eCursor
) 

Parameters

_bsChannelID
channel ID. By default use empty string
_eCursor
cursor type
Example

Here is example of how to set a cursor for preview. Note please that it is recommended to set a cursor on each mouse action, for example use MouseMove event for it:

private void panelPreview_MouseMove(object sender, MouseEventArgs e)
{
    m_objPreview.PreviewSetCursor("", eMCursorType.eMCT_CROSS);
}
See Also

Reference

MFPreviewClass Class
MFPreviewClass Members