ElementHost.EnableModelessKeyboardInterop(Window) 메서드

정의

Window 키보드 메시지를 Windows Forms 모덜리스로 열 때 올바르게 수신할 수 있습니다.

public:
 static void EnableModelessKeyboardInterop(System::Windows::Window ^ window);
public static void EnableModelessKeyboardInterop (System.Windows.Window window);
static member EnableModelessKeyboardInterop : System.Windows.Window -> unit
Public Shared Sub EnableModelessKeyboardInterop (window As Window)

매개 변수

window
Window

WPF(Windows Presentation Foundation) 창을 모덜리스로 엽니다.

설명

WPF 창이 EnableModelessKeyboardInterop 모덜리스로 열리면 메서드를 호출하여 모든 키보드 메시지를 전달합니다. 이 메서드는 EnableModelessKeyboardInterop Windows Forms 기반 애플리케이션에 메시지 필터를 설치합니다. 필터는 모덜리스 창이 활성화된 경우 모든 키보드 메시지를 전달합니다.

적용 대상

추가 정보