13 references to Handle
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ContextMenu.cs (1)
231
SafeNativeMethods.TrackPopupMenuEx(new HandleRef(this,
Handle
),
winforms\Managed\System\WinForms\Form.cs (3)
6520
UnsafeNativeMethods.SetMenu(new HandleRef(this, Handle), new HandleRef(menu, menu.
Handle
));
6547
UnsafeNativeMethods.SendMessage(new HandleRef(ctlClient, ctlClient.Handle), NativeMethods.WM_MDISETMENU, dummyMenu.
Handle
, IntPtr.Zero);
6553
UnsafeNativeMethods.SendMessage(new HandleRef(ctlClient, ctlClient.Handle), NativeMethods.WM_MDISETMENU, menu.
Handle
, IntPtr.Zero);
winforms\Managed\System\WinForms\MenuItem.cs (4)
473
int count = UnsafeNativeMethods.GetMenuItemCount(new HandleRef(menu, menu.
Handle
));
485
if ((info.hSubMenu == IntPtr.Zero || info.hSubMenu ==
Handle
) && info.wID == id) {
906
info.hSubMenu =
Handle
;
1493
Debug.WriteLineIf(Control.PaletteTracing.TraceVerbose,
Handle
+ ": Force set palette in MenuItem drawitem");
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
734
SafeNativeMethods.TrackPopupMenuEx(new HandleRef(contextMenu, contextMenu.
Handle
),
winforms\Managed\System\WinForms\RichTextBox.cs (1)
4032
IntPtr handle = cm.
Handle
;
winforms\Managed\System\WinForms\ToolBar.cs (2)
1553
main.ProcessInitMenuPopup(menu.
Handle
);
1564
new HandleRef(menu, menu.
Handle
),
winforms\Managed\System\WinForms\TreeView.cs (1)
3099
SafeNativeMethods.TrackPopupMenuEx(new HandleRef(contextMenu, contextMenu.
Handle
),