1 write to window
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
496
window
= new ControlNativeWindow(this);
46 references to window
System.Windows.Forms (46)
winforms\Managed\System\WinForms\Control.cs (46)
596
return
window
.DpiAwarenessContext;
1405
bool visible = SafeNativeMethods.IsWindowVisible(new HandleRef(
window
, Handle));
1406
bool enabled = SafeNativeMethods.IsWindowEnabled(new HandleRef(
window
, Handle));
2874
return
window
.Handle;
2971
get { return
window
.Handle != IntPtr.Zero; }
4506
return
window
.WindowTarget;
4510
window
.WindowTarget = value;
4538
int textLen = SafeNativeMethods.GetWindowTextLength(new HandleRef(
window
, Handle));
4546
UnsafeNativeMethods.GetWindowText(new HandleRef(
window
, Handle), sb, sb.Capacity);
4554
UnsafeNativeMethods.SetWindowText(new HandleRef(
window
, Handle), value);
5615
else if (IsHandleCreated && GetTopLevel() && SafeNativeMethods.IsWindowEnabled(new HandleRef(
window
, Handle))) {
5616
SafeNativeMethods.SetWindowPos(new HandleRef(
window
, Handle), NativeMethods.HWND_TOP, 0, 0, 0, 0,
5825
window
.CreateHandle(cp);
5924
window
.DefWndProc(ref m);
5978
if (0 != (NativeMethods.WS_EX_MDICHILD & (int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(
window
, InternalHandle), NativeMethods.GWL_EXSTYLE))) {
5982
window
.DestroyHandle();
6071
if (
window
!= null) {
6072
window
.ForceExitMessageLoop();
7269
SafeNativeMethods.RedrawWindow(new HandleRef(
window
, Handle),
7279
SafeNativeMethods.InvalidateRect(new HandleRef(
window
, Handle),
7314
SafeNativeMethods.RedrawWindow(new HandleRef(
window
, Handle),
7328
SafeNativeMethods.InvalidateRect(new HandleRef(
window
, Handle),
9404
UnsafeNativeMethods.GetClientRect(new HandleRef(
window
, InternalHandle), ref rect);
11793
SafeNativeMethods.SetWindowPos(new HandleRef(
window
, Handle), NativeMethods.HWND_BOTTOM, 0, 0, 0, 0,
11898
SafeNativeMethods.SetWindowPos(new HandleRef(
window
, Handle), NativeMethods.NullHandleRef, x, y, width, height, flags);
11971
IntPtr parentHandle = UnsafeNativeMethods.GetParent(new HandleRef(
window
, Handle));
11998
Application.ParkHandle(new HandleRef(
window
, Handle), this.DpiAwarenessContext);
12002
UnsafeNativeMethods.SetParent(new HandleRef(
window
, Handle), new HandleRef(null, value));
12006
Application.UnparkHandle(new HandleRef(
window
, Handle),
window
.DpiAwarenessContext);
12014
UnsafeNativeMethods.SetParent(new HandleRef(
window
, Handle), new HandleRef(null, IntPtr.Zero));
12015
Application.UnparkHandle(new HandleRef(
window
, Handle),
window
.DpiAwarenessContext);
12144
SafeNativeMethods.SetWindowPos(new HandleRef(
window
, Handle),
12198
new HandleRef(
window
, Handle), NativeMethods.NullHandleRef, 0, 0, 0, 0, NativeMethods.SWP_NOSIZE |
12505
SafeNativeMethods.UpdateWindow(new HandleRef(
window
, InternalHandle));
12517
UnsafeNativeMethods.GetClientRect(new HandleRef(
window
, InternalHandle), ref rect);
12520
UnsafeNativeMethods.GetWindowRect(new HandleRef(
window
, InternalHandle), ref rect);
12522
UnsafeNativeMethods.MapWindowPoints(NativeMethods.NullHandleRef, new HandleRef(null, UnsafeNativeMethods.GetParent(new HandleRef(
window
, InternalHandle))), ref rect, 2);
12705
if (UnsafeNativeMethods.GetWindow(new HandleRef(ctl.
window
, ctl.Handle), NativeMethods.GW_HWNDPREV) != prevHandle) {
12708
SafeNativeMethods.SetWindowPos(new HandleRef(ctl.
window
, ctl.Handle), new HandleRef(null, prevHandle), 0, 0, 0, 0,
12722
window
.LockReference(GetTopLevel() && Visible);
12782
window
.AssignHandle(handle, value);
12787
window
.ReleaseHandle();
13627
IntPtr handle =
window
.GetHandleFromID((short)NativeMethods.Util.LOWORD(m.WParam));
14075
if (parent != null && UnsafeNativeMethods.GetParent(new HandleRef(
window
, InternalHandle)) == parent.InternalHandle &&