42 references to Handle
PresentationFramework (42)
System\Windows\Automation\Peers\WindowAutomationPeer.cs (2)
39UnsafeNativeMethods.GetWindowText(new HandleRef(null, window.Handle), sb, sb.Capacity); 71IntPtr windowHandle = window.Handle;
System\Windows\Interop\WindowInteropHelper.cs (1)
57return _window.Handle;
System\Windows\Window.cs (39)
252UnsafeNativeMethods.SendMessage( Handle, WindowMessage.WM_SYSCOMMAND, (IntPtr)NativeMethods.SC_MOUSEMOVE, IntPtr.Zero); 253UnsafeNativeMethods.SendMessage( Handle, WindowMessage.WM_LBUTTONUP, IntPtr.Zero, IntPtr.Zero); 498return UnsafeNativeMethods.SetForegroundWindow(new HandleRef(null, Handle)); 1079return GetNormalRectLogicalUnits(Handle); 1296SetOwnerHandle(_ownerWindow != null ? _ownerWindow.Handle: IntPtr.Zero); 2259UnsafeNativeMethods.UnsafeSendMessage(Handle, WindowMessage.WM_CLOSE, new IntPtr(), new IntPtr()); 2617IntPtr handle = Handle; 2846UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), 2929UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), 3017UnsafeNativeMethods.SetWindowText(new HandleRef(this, Handle), title); 3030UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), 3833if (Owner.Handle == IntPtr.Zero) 4119new HandleRef(this, Handle), 4193UnsafeNativeMethods.SetWindowLong(new HandleRef(null, Handle), 4201if ((_ownerWindow != null) && (_ownerWindow.Handle != _ownerHandle)) 5152UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), NativeMethods.NullHandleRef, 0, 0, 0, 0, 5169UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), NativeMethods.NullHandleRef, 0, 0, 0, 0, 5210HandleRef hr = new HandleRef(this, Handle); 5351UnsafeNativeMethods.SetWindowPos(new HandleRef(null, Handle), 5570UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), 5577UnsafeNativeMethods.ShowWindow(new HandleRef(this, Handle), nCmd); 5932UnsafeNativeMethods.GetWindowPlacement(new HandleRef(this, Handle), ref wp); 5998UnsafeNativeMethods.SetWindowPlacement(new HandleRef(this, Handle), ref wp); 6011IntPtr hMonitor = SafeNativeMethods.MonitorFromWindow(new HandleRef(this, Handle), NativeMethods.MONITOR_DEFAULTTONULL); 6255UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), 6429UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), WM_APPLYTASKBARITEMINFO, IntPtr.Zero, IntPtr.Zero); 6568HRESULT hr = _taskbarList.SetProgressState(Handle, tbpf); 6598return _taskbarList.SetProgressValue(Handle, intValue, precisionValue); 6618return _taskbarList.SetOverlayIcon(Handle, hicon, null); 6638return _taskbarList.SetThumbnailTooltip(Handle, tooltip); 6658if (UnsafeNativeMethods.IsIconic(Handle)) 6673SafeNativeMethods.GetClientRect(new HandleRef(this, Handle), ref physicalClientRc); 6694return _taskbarList.SetThumbnailClip(Handle, interopRc); 6717HRESULT hr = _taskbarList.ThumbBarAddButtons(Handle, (uint)nativeButtons.Length, nativeButtons); 6828return _taskbarList.ThumbBarUpdateButtons(Handle, (uint)nativeButtons.Length, nativeButtons); 6881if (manager.Dirty && Handle != IntPtr.Zero) 6883UnsafeNativeMethods.CriticalSetWindowLong(new HandleRef(this,Handle), NativeMethods.GWL_STYLE, (IntPtr)_styleDoNotUse); 6884UnsafeNativeMethods.CriticalSetWindowLong(new HandleRef(this,Handle), NativeMethods.GWL_EXSTYLE, (IntPtr)_styleExDoNotUse); 6886UnsafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), NativeMethods.NullHandleRef, 0, 0, 0, 0,