mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
defc2c3af6
- When LoadingStateChanged occurs we remove the ExStyle WS_EX_NOACTIVATE flag
- Previous change to the FocusHandler was reverted in 917480da3b
Updated to match the cefclient example
https://github.com/chromiumembedded/cef/blob/9df4a54308a88fd80c5774d91c62da35afb5fd1b/tests/cefclient/browser/root_window_win.cc#L1088
Resolves #2776
25 lines
898 B
C++
25 lines
898 B
C++
// Copyright © 2012 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
#pragma once
|
|
|
|
#include "Stdafx.h"
|
|
|
|
namespace CefSharp
|
|
{
|
|
/// <exclude />
|
|
public ref class NativeMethodWrapper sealed
|
|
{
|
|
public:
|
|
//Method cannot be called CopyMemory/RtlCopyMemroy as that's a macro name
|
|
//Length is currently int, update if required to handle larger data structures
|
|
//(int is plenty big enough for our current use case)
|
|
static void MemoryCopy(IntPtr dest, IntPtr src, int numberOfBytes);
|
|
static bool IsFocused(IntPtr handle);
|
|
static void SetWindowPosition(IntPtr handle, int x, int y, int width, int height);
|
|
static void SetWindowParent(IntPtr child, IntPtr newParent);
|
|
static void RemoveExNoActivateStyle(IntPtr browserHwnd);
|
|
};
|
|
}
|