C# Class AdvancedLauncher.Tools.Interop.RedirectedHwndHost

Inheritance: System.Windows.FrameworkElement, IDisposable, IKeyboardInputSink
Afficher le fichier Open project: GoldRenard/DMOAdvancedLauncher Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Свойство Type Description
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

Méthodes publiques

Méthode Description
Dispose ( ) : void

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

BuildWindowCore() protected méthode

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
Résultat AdvancedLauncher.Tools.Win32.User32.HWND

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

HasFocusWithinCore() protected méthode

protected HasFocusWithinCore ( ) : bool
Résultat bool

OnCurrentHwndSourceChanged() protected méthode

protected OnCurrentHwndSourceChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

OnMnemonicCore() protected méthode

protected OnMnemonicCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
msg System.Windows.Interop.MSG
modifiers ModifierKeys
Résultat bool

OnRender() protected méthode

protected OnRender ( System drawingContext ) : void
drawingContext System
Résultat void

OnRenderSizeChanged() protected méthode

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
Résultat void

RegisterKeyboardInputSinkCore() protected méthode

protected RegisterKeyboardInputSinkCore ( IKeyboardInputSink sink ) : IKeyboardInputSite
sink IKeyboardInputSink
Résultat IKeyboardInputSite

TabIntoCore() protected méthode

protected TabIntoCore ( System.Windows.Input.TraversalRequest request ) : bool
request System.Windows.Input.TraversalRequest
Résultat bool

TranslateAcceleratorCore() protected méthode

protected TranslateAcceleratorCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
msg System.Windows.Interop.MSG
modifiers ModifierKeys
Résultat bool

TranslateCharCore() protected méthode

protected TranslateCharCore ( System.Windows.Interop.MSG &msg, ModifierKeys modifiers ) : bool
msg System.Windows.Interop.MSG
modifiers ModifierKeys
Résultat bool

Property Details

CurrentHwndSourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows CurrentHwndSourceProperty
Résultat System.Windows.DependencyProperty

CurrentHwndSourcePropertyKey public_oe static_oe property

public static DependencyPropertyKey,System.Windows CurrentHwndSourcePropertyKey
Résultat System.Windows.DependencyPropertyKey

InputRedirectionPeriodProperty public_oe static_oe property

public static DependencyProperty,System.Windows InputRedirectionPeriodProperty
Résultat System.Windows.DependencyProperty

IsInputRedirectionEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsInputRedirectionEnabledProperty
Résultat System.Windows.DependencyProperty

IsOutputRedirectionEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsOutputRedirectionEnabledProperty
Résultat System.Windows.DependencyProperty

OutputRedirectionPeriodProperty public_oe static_oe property

public static DependencyProperty,System.Windows OutputRedirectionPeriodProperty
Résultat System.Windows.DependencyProperty

RedirectionVisibilityProperty public_oe static_oe property

public static DependencyProperty,System.Windows RedirectionVisibilityProperty
Résultat System.Windows.DependencyProperty