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