MFORMATSLib Namespace > MFPreviewClass Class : PreviewSetCursor Method |
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 )
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); }