示例#1
0
 protected override void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo)
 {
 }
 protected override void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo)
 {
     _uiHelper.PerformInUiThread(() =>
         {
             Cursor cursor = CursorInteropHelper.Create(new SafeFileHandle(cursorHandle, false));
             _owner.Cursor = cursor;
         });
 }
示例#3
0
 /// <summary>
 /// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
 /// |custom_cursor_info| will be populated with the custom cursor information.
 /// Return true if the cursor change was handled or false for default handling.
 /// </summary>
 protected virtual bool OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo)
 => false;
 /// <summary>
 /// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
 /// |custom_cursor_info| will be populated with the custom cursor information.
 /// </summary>
 protected abstract void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo);
示例#5
0
 /// <summary>
 /// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
 /// |custom_cursor_info| will be populated with the custom cursor information.
 /// </summary>
 protected abstract void OnCursorChange(CefBrowser browser, IntPtr cursorHandle, CefCursorType type, CefCursorInfo customCursorInfo);