15 writes to y
UIAutomationClientsideProviders (15)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
286
if (!GetClickablePoint(alOut, out pt.x, out pt.
y
))
MS\Internal\AutomationProxies\CommonXSendMessage.cs (2)
2463
pt.
y
= y;
2490
pt.
y
= y;
MS\Internal\AutomationProxies\ProxySimple.cs (2)
600
pt.x = pt.
y
= 0;
610
pt.
y
= (rcItem.bottom - 1 + rcItem.top) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
406
clientLocation.
y
= Math.Max(clientLocation.y, clientRect.top);
407
clientLocation.
y
= Math.Min(clientLocation.y, clientRect.bottom);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
266
w32point.
y
= 0;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
209
HitTestInfo.pt.
y
= y;
499
HitTestInfo.pt.
y
= y;
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1802
pt.
y
= 0;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
928
clickPoint.x = clickPoint.
y
= 0;
962
clickPoint.
y
= (itemRectangle.top + itemRectangle.bottom) / 2;
MS\Win32\NativeMethods.cs (2)
1268
this.
y
= y;
1687
pt.
y
= y;
36 references to y
UIAutomationClientsideProviders (36)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (3)
997
new NativeMethods.TVHITTESTINFO(clientPoint.x, clientPoint.
y
, 0);
1006
TVHITTESTINFO_32 hitTestInfo32 = new TVHITTESTINFO_32(clientPoint.x, clientPoint.
y
, 0);
1015
TVHITTESTINFO_64 hitTestInfo64 = new TVHITTESTINFO_64(clientPoint.x, clientPoint.
y
, 0);
MS\Internal\AutomationProxies\Misc.cs (3)
265
rc = new NativeMethods.Win32Rect(leftTop.x, leftTop.
y
, rightBottom.x, rightBottom.
y
);
994
Input.SendMouseInput(ptPrevious.x, ptPrevious.
y
, 0, SendMouseInputFlags.Move | SendMouseInputFlags.Absolute);
MS\Internal\AutomationProxies\ProxySimple.cs (1)
243
return new double[] { pt.x, pt.
y
};
MS\Internal\AutomationProxies\WindowsAltTab.cs (4)
152
if (Misc.PtInRect(ref clientRect, pt.x, pt.
y
))
155
int row = (pt.
y
- _altTabInfo.ptStart.
y
) / _altTabInfo.cyItem;
402
int top = ptStart.
y
+ row * cyItem;
MS\Internal\AutomationProxies\WindowsEditBox.cs (5)
406
clientLocation.y = Math.Max(clientLocation.
y
, clientRect.top);
407
clientLocation.y = Math.Min(clientLocation.
y
, clientRect.bottom);
503
Debug.Assert(point.
y
>= 0 && point.
y
< 65536, "WindowsEditBox.CharFromPos() y coordinate out of range.");
508
IntPtr lParam = NativeMethods.Util.MAKELPARAM(point.x, point.
y
);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
271
Point mapClientToScreen = new Point(w32point.x, w32point.
y
);
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (1)
148
Misc.MouseClick(pt.x, pt.
y
);
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
1129
Misc.MouseClick(pt.x, pt.
y
);
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
125
Misc.MouseClick(pt.x, pt.
y
);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
237
return new double[] { clickPoint.x, clickPoint.
y
};
968
Misc.MouseClick(clickPoint.x, clickPoint.
y
, !WindowsListView.ListViewSingleClickActivate(_hwnd));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
260
Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));
261
Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
497
IntPtr center = NativeMethods.Util.MAKELPARAM (pt.x, pt.
y
);
MS\Internal\AutomationProxies\WindowsTab.cs (4)
1109
Misc.MouseClick(pt.x, pt.
y
);
1145
Misc.MouseClick(pt.x, pt.
y
);
1305
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));
1306
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));
MS\Internal\AutomationProxies\WindowsTooltip.cs (5)
260
IntPtr hwnd = UnsafeNativeMethods.WindowFromPhysicalPoint(pt.x, pt.
y
);
276
if (pt.x >= rects[scan].Left && pt.x <= rects[scan].Right && pt.
y
>= rects[scan].Top && pt.
y
<= rects[scan].Bottom)
318
IntPtr hwnd = UnsafeNativeMethods.WindowFromPhysicalPoint(pt.x, pt.
y
);
324
int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
1553
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));
1554
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.
y
));