C# Класс AdvancedLauncher.Tools.Interop.RedirectedHwndHost

Наследование: System.Windows.FrameworkElement, IDisposable, IKeyboardInputSink
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CurrentHwndSourceProperty System.Windows.DependencyProperty
CurrentHwndSourcePropertyKey System.Windows.DependencyPropertyKey
InputRedirectionPeriodProperty System.Windows.DependencyProperty
IsInputRedirectionEnabledProperty System.Windows.DependencyProperty
IsOutputRedirectionEnabledProperty System.Windows.DependencyProperty
OutputRedirectionPeriodProperty System.Windows.DependencyProperty
RedirectionVisibilityProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
GetInputSyncPoint POINT?
IKeyboardInputSink IKeyboardInputSite
IKeyboardInputSink bool
IKeyboardInputSink bool
IKeyboardInputSink bool
Initialize void
OnInputRedirectionPeriodChanged void
OnIsInputRedirectionEnabledChanged void
OnIsOutputRedirectionEnabledChanged void
OnLoaded void
OnOutputRedirectionPeriodChanged void
OnRedirectionVisibilityChanged void
RedirectedHwndHost System
UpdateInputRedirection void
UpdateOutputRedirection void
UpdateRedirectedWindowSettings void
VerifyNotDisposed void

Открытые методы

Метод Описание
Dispose ( ) : void

Защищенные методы

Метод Описание
BuildWindowCore ( HWND hwndParent ) : HWND

Creates the hosted child window.

Derived types override the BuildWindowCore virtual method to create the child window. The child window is parented to a seperate top-level window for the purposes of redirection. The SafeWindowHandle type controls the lifetime of the child window. It will be disposed when the RedirectedHwndHost is disposed, or when the SafeWindowHandle is finalized. Set the SafeWindowHandle.DestroyWindowOnRelease property to true if you want the window destroyed automatically.

Dispose ( bool disposing ) : void
HasFocusWithinCore ( ) : bool
OnCurrentHwndSourceChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMnemonicCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
OnRender ( System drawingContext ) : void
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
RegisterKeyboardInputSinkCore ( IKeyboardInputSink sink ) : IKeyboardInputSite
TabIntoCore ( System.Windows.Input.TraversalRequest request ) : bool
TranslateAcceleratorCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
TranslateCharCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool

Приватные методы

Метод Описание
GetInputSyncPoint ( int xScreen, int yScreen ) : POINT?

Return the point to sync the window to. The point is in the coordinate space of the image, which is the same as the client coordinate space of the hosted window. This function returns null if the input should not be synchronized for this redirected window.

IKeyboardInputSink ( IKeyboardInputSink sink ) : IKeyboardInputSite
IKeyboardInputSink ( ) : bool
IKeyboardInputSink ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
IKeyboardInputSink ( System.Windows.Input.TraversalRequest request ) : bool
Initialize ( ) : void
OnInputRedirectionPeriodChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsInputRedirectionEnabledChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsOutputRedirectionEnabledChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnOutputRedirectionPeriodChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRedirectionVisibilityChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
RedirectedHwndHost ( ) : System
UpdateInputRedirection ( ) : void
UpdateOutputRedirection ( ) : void
UpdateRedirectedWindowSettings ( RedirectionVisibility visibility, bool isMouseOver ) : void
VerifyNotDisposed ( ) : void

Описание методов

BuildWindowCore() защищенный Метод

Creates the hosted child window.
Derived types override the BuildWindowCore virtual method to create the child window. The child window is parented to a seperate top-level window for the purposes of redirection. The SafeWindowHandle type controls the lifetime of the child window. It will be disposed when the RedirectedHwndHost is disposed, or when the SafeWindowHandle is finalized. Set the SafeWindowHandle.DestroyWindowOnRelease property to true if you want the window destroyed automatically.
protected BuildWindowCore ( HWND hwndParent ) : HWND
hwndParent AdvancedLauncher.Tools.Win32.User32.HWND
Результат AdvancedLauncher.Tools.Win32.User32.HWND

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

HasFocusWithinCore() защищенный Метод

protected HasFocusWithinCore ( ) : bool
Результат bool

OnCurrentHwndSourceChanged() защищенный Метод

protected OnCurrentHwndSourceChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

OnMnemonicCore() защищенный Метод

protected OnMnemonicCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
msg System.Windows.Interop.MSG
modifiers ModifierKeys
Результат bool

OnRender() защищенный Метод

protected OnRender ( System drawingContext ) : void
drawingContext System
Результат void

OnRenderSizeChanged() защищенный Метод

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
Результат void

RegisterKeyboardInputSinkCore() защищенный Метод

protected RegisterKeyboardInputSinkCore ( IKeyboardInputSink sink ) : IKeyboardInputSite
sink IKeyboardInputSink
Результат IKeyboardInputSite

TabIntoCore() защищенный Метод

protected TabIntoCore ( System.Windows.Input.TraversalRequest request ) : bool
request System.Windows.Input.TraversalRequest
Результат bool

TranslateAcceleratorCore() защищенный Метод

protected TranslateAcceleratorCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
msg System.Windows.Interop.MSG
modifiers ModifierKeys
Результат bool

TranslateCharCore() защищенный Метод

protected TranslateCharCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
msg System.Windows.Interop.MSG
modifiers ModifierKeys
Результат bool

Описание свойств

CurrentHwndSourceProperty публичное статическое свойство

public static DependencyProperty,System.Windows CurrentHwndSourceProperty
Результат System.Windows.DependencyProperty

CurrentHwndSourcePropertyKey публичное статическое свойство

public static DependencyPropertyKey,System.Windows CurrentHwndSourcePropertyKey
Результат System.Windows.DependencyPropertyKey

InputRedirectionPeriodProperty публичное статическое свойство

public static DependencyProperty,System.Windows InputRedirectionPeriodProperty
Результат System.Windows.DependencyProperty

IsInputRedirectionEnabledProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsInputRedirectionEnabledProperty
Результат System.Windows.DependencyProperty

IsOutputRedirectionEnabledProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsOutputRedirectionEnabledProperty
Результат System.Windows.DependencyProperty

OutputRedirectionPeriodProperty публичное статическое свойство

public static DependencyProperty,System.Windows OutputRedirectionPeriodProperty
Результат System.Windows.DependencyProperty

RedirectionVisibilityProperty публичное статическое свойство

public static DependencyProperty,System.Windows RedirectionVisibilityProperty
Результат System.Windows.DependencyProperty