2 writes to window
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Form.cs (2)
7803
window
= new ToolTipNativeWindow(this);
7837
window
= null;
30 references to window
System.Windows.Forms (30)
winforms\Managed\System\WinForms\Form.cs (30)
7835
if (
window
.Handle != IntPtr.Zero) {
7836
window
.DestroyHandle();
7877
window
.CreateHandle(CreateParams);
7879
SafeNativeMethods.SetWindowPos(new HandleRef(
window
,
window
.Handle), NativeMethods.HWND_TOPMOST,
7884
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, owner.Width);
7886
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_SETTITLE, NativeMethods.TTI_WARNING, SR.GetString(SR.SecurityToolTipCaption));
7888
if (0 == (int)UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO())) {
7892
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_ACTIVATE, 1, 0);
7897
if (
window
!= null)
7899
if (
window
.Handle != IntPtr.Zero) {
7900
window
.DestroyHandle();
7911
if (
window
!= null && first) {
7918
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.Left + s.Width / 2, owner.Top + SystemInformation.CaptionHeight));
7930
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_TRACKACTIVATE, 0, GetTOOLINFO());
7931
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_DELTOOL, 0, GetTOOLINFO());
7932
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO());
7938
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.Left + s.Width / 2, owner.Top + SystemInformation.CaptionHeight));
7939
UnsafeNativeMethods.SendMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.TTM_TRACKACTIVATE, 1, GetTOOLINFO());
7953
window
.DefWndProc(ref msg);