21 references to WindowInteropHelper
PresentationFramework (14)
src\Framework\Microsoft\Win32\CommonDialog.cs (1)
187
IntPtr hwndOwner = (new
WindowInteropHelper
(owner)).CriticalHandle;
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
93
new System.Windows.Interop.
WindowInteropHelper
(System.Windows.Application.Current.MainWindow);
src\Framework\System\Windows\Application.cs (1)
1883
new
WindowInteropHelper
(appWin).EnsureHandle();
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
665
WindowInteropHelper helper = new
WindowInteropHelper
(window);
src\Framework\System\Windows\MessageBox.cs (6)
330
return ShowCore((new
WindowInteropHelper
(owner)).CriticalHandle, messageBoxText, caption, button, icon, defaultResult, options);
351
return ShowCore((new
WindowInteropHelper
(owner)).CriticalHandle, messageBoxText, caption, button, icon, defaultResult, 0);
371
return ShowCore((new
WindowInteropHelper
(owner)).CriticalHandle, messageBoxText, caption, button, icon, 0, 0);
390
return ShowCore((new
WindowInteropHelper
(owner)).CriticalHandle, messageBoxText, caption, button, MessageBoxImage.None, 0, 0);
405
return ShowCore((new
WindowInteropHelper
(owner)).CriticalHandle, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
420
return ShowCore((new
WindowInteropHelper
(owner)).CriticalHandle, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
198
_hwnd = new
WindowInteropHelper
(_window).Handle;
235
_hwnd = new
WindowInteropHelper
(_window).Handle;
src\Framework\System\Windows\SystemCommands.cs (2)
34
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
116
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (1)
64
WindowInteropHelper interopHelper = new
WindowInteropHelper
(target);
System.Activities.Presentation\System\Activities\Presentation\View\WindowExtensionMethods.cs (5)
16
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
31
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
52
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
59
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
66
IntPtr hwnd = new
WindowInteropHelper
(window).Handle;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
203
WindowInteropHelper helper = new
WindowInteropHelper
(ownerWindow);