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