MFORMATSLib Namespace > IMPreview Interface : PreviewSetCursor Method |
Sub PreviewSetCursor( _ ByVal _bsChannelID As String, _ ByVal _eCursor As eMCursorType _ )
void PreviewSetCursor( string _bsChannelID, eMCursorType _eCursor )
procedure PreviewSetCursor( _bsChannelID: String; _eCursor: eMCursorType );
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); }