11 types derived from NativeWindow
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ComboBox.cs (2)
3865internal class ComboBoxChildNativeWindow : NativeWindow { 5755private sealed class ACNativeWindow : NativeWindow {
winforms\Managed\System\WinForms\Control.cs (1)
14563internal sealed class ControlNativeWindow : NativeWindow, IWindowTarget {
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
869internal class ErrorWindow : NativeWindow {
winforms\Managed\System\WinForms\Form.cs (1)
7956private sealed class ToolTipNativeWindow : NativeWindow {
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
988private class NotifyIconNativeWindow : NativeWindow {
winforms\Managed\System\WinForms\StatusBar.cs (1)
1922private class ToolTipNativeWindow : NativeWindow {
winforms\Managed\System\WinForms\Timer.cs (1)
272private class TimerNativeWindow : NativeWindow {
winforms\Managed\System\WinForms\ToolTip.cs (1)
2658private class ToolTipNativeWindow : NativeWindow {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1957private class WebBrowserBaseNativeWindow : NativeWindow {
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
2275private sealed class NativeToolTip : NativeWindow, IDisposable
5 instantiations of NativeWindow
System.Windows.Forms (5)
winforms\Managed\System\WinForms\CommonDialog.cs (1)
288native = new NativeWindow();
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
46tipWindow = new NativeWindow();
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
966tipWindow = new NativeWindow();
winforms\Managed\System\WinForms\Form.cs (1)
2512ownerWindow = new NativeWindow();
winforms\Managed\System\WinForms\ToolStrip.cs (1)
790dropDownOwnerWindow = new NativeWindow();
53 references to NativeWindow
System.Windows.Forms (53)
winforms\Managed\System\WinForms\Application.cs (3)
1529if (NativeWindow.AnyHandleCreated) 1578NativeWindow.SetUnhandledExceptionModeInternal(mode, threadScope); 3670if (NativeWindow.WndProcShouldBeDebuggable) {
winforms\Managed\System\WinForms\ComboBox.cs (3)
1997NativeWindow childWindow; 2191internal NativeWindow GetListNativeWindow() { 2196var listNativeWindow = GetListNativeWindow();
winforms\Managed\System\WinForms\CommonDialog.cs (2)
211if (NativeWindow.WndProcShouldBeDebuggable) { 273NativeWindow native = null;//This will be used if there is no owner or active window (declared here so it can be kept alive)
winforms\Managed\System\WinForms\ContainerControl.cs (2)
1498if (NativeWindow.WndProcShouldBeDebuggable) { 1562if (NativeWindow.WndProcShouldBeDebuggable) {
winforms\Managed\System\WinForms\Control.cs (5)
6427NativeWindow w = NativeWindow.FromHandle(handle); 7487if (NativeWindow.WndProcShouldBeDebuggable && !current.synchronous) { 7505if (!NativeWindow.WndProcShouldBeDebuggable && 10018if (bulkValidation || NativeWindow.WndProcShouldBeDebuggable) {
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
21private NativeWindow tipWindow = null;
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
880NativeWindow tipWindow;
winforms\Managed\System\WinForms\FileDialog.cs (1)
647if (NativeWindow.WndProcShouldBeDebuggable) {
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
173if (NativeWindow.WndProcShouldBeDebuggable)
winforms\Managed\System\WinForms\FontDialog.cs (1)
484if (NativeWindow.WndProcShouldBeDebuggable) {
winforms\Managed\System\WinForms\Form.cs (2)
205private NativeWindow ownerWindow; 3547if (NativeWindow.WndProcShouldBeDebuggable)
winforms\Managed\System\WinForms\HtmlShim.cs (1)
123if (NativeWindow.WndProcShouldBeDebuggable)
winforms\Managed\System\WinForms\NativeWindow.cs (24)
105NativeWindow previousWindow; // doubly linked list of subclasses. 106NativeWindow nextWindow; 249internal NativeWindow PreviousWindow { 340private static void AddWindowToTable(IntPtr handle, NativeWindow window) { 402window.previousWindow = ((NativeWindow)prevWindow.Target); 453NativeWindow.hashForIdHandle[NativeWindow.globalID] = handle; 454NativeWindow.hashForHandleId[handle] = NativeWindow.globalID; 942public static NativeWindow FromHandle(IntPtr handle) { 990private static NativeWindow GetWindowFromTable(IntPtr handle) { 1010return (NativeWindow)b.window.Target; 1021if (NativeWindow.hashForIdHandle == null || !NativeWindow.hashForIdHandle.TryGetValue(id, out handle)) { 1093NativeWindow w = (NativeWindow)b.window.Target; 1186private static void RemoveWindowFromTable(IntPtr handle, NativeWindow window) { 1197NativeWindow prevWindow = window.PreviousWindow; 1259private static bool IsRootWindowInListWithChildren(NativeWindow window) { 1284short id = (short)NativeWindow.hashForHandleId[handle]; 1285NativeWindow.hashForHandleId.Remove(handle); 1286NativeWindow.hashForIdHandle.Remove(id); 1479internal NativeWindow targetWindow; 1636if (ok && wcls.lpfnWndProc == NativeWindow.UserDefindowProc) {
winforms\Managed\System\WinForms\TabControl.cs (2)
1341NativeWindow.AddWindowToIDTable(this, this.Handle); 1407NativeWindow.RemoveWindowFromIDTable(this.Handle);
winforms\Managed\System\WinForms\ToolStrip.cs (2)
75private NativeWindow dropDownOwnerWindow; 787internal virtual NativeWindow DropDownOwnerWindow {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
424internal override NativeWindow DropDownOwnerWindow { 1678NativeWindow ownerWindow = DropDownOwnerWindow;