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