2 writes to targetWindowHandle
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
114
this.
targetWindowHandle
= Control.GetSafeHandle(targetWindow);
1203
targetWindowHandle
= Control.GetSafeHandle(window);
3 references to targetWindowHandle
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
228
if (base.Enabled && nativeMenuHandle != IntPtr.Zero &&
targetWindowHandle
!= IntPtr.Zero) {
877
UnsafeNativeMethods.PostMessage( new HandleRef(this,
targetWindowHandle
), NativeMethods.WM_SYSCOMMAND,nativeMenuCommandID, 0);
883
UnsafeNativeMethods.PostMessage( new HandleRef(this,
targetWindowHandle
), NativeMethods.WM_COMMAND, nativeMenuCommandID, 0);