2 writes to tipWindow
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridToolTip.cs (2)
46tipWindow = new NativeWindow(); 90tipWindow = null;
17 references to tipWindow
System.Windows.Forms (17)
winforms\Managed\System\WinForms\DataGridToolTip.cs (17)
36if (tipWindow == null || tipWindow.Handle == IntPtr.Zero) 47tipWindow.CreateHandle(cparams); 49UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width); 50SafeNativeMethods.SetWindowPos(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.HWND_NOTOPMOST, 0, 0, 0, 0, NativeMethods.SWP_NOSIZE | NativeMethods.SWP_NOMOVE | NativeMethods.SWP_NOACTIVATE); 51UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETDELAYTIME, NativeMethods.TTDT_INITIAL, 0); 59Debug.Assert(tipWindow != null && tipWindow.Handle != IntPtr.Zero, "the tipWindow was not initialized, bailing out"); 73UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_ADDTOOL, 0, toolInfo); 82UnsafeNativeMethods.SendMessage(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_DELTOOL, 0, toolInfo); 88Debug.Assert(tipWindow != null, "how can one destroy a null window"); 89tipWindow.DestroyHandle();