15 writes to x
UIAutomationClientsideProviders (15)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
286
if (!GetClickablePoint(alOut, out pt.
x
, out pt.y))
MS\Internal\AutomationProxies\CommonXSendMessage.cs (2)
2462
pt.
x
= x;
2489
pt.
x
= x;
MS\Internal\AutomationProxies\ProxySimple.cs (2)
600
pt.
x
= pt.y = 0;
609
pt.
x
= (rcItem.right - 1 + rcItem.left) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
404
clientLocation.
x
= Math.Max(clientLocation.x, clientRect.left);
405
clientLocation.
x
= Math.Min(clientLocation.x, clientRect.right);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
265
w32point.
x
= 0;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
208
HitTestInfo.pt.
x
= x;
498
HitTestInfo.pt.
x
= x;
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1801
pt.
x
= 0;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
928
clickPoint.
x
= clickPoint.y = 0;
961
clickPoint.
x
= Math.Min ((itemRectangle.left + 5), (itemRectangle.left + itemRectangle.right) / 2);
MS\Win32\NativeMethods.cs (2)
1267
this.
x
= x;
1686
pt.
x
= x;
40 references to x
UIAutomationClientsideProviders (40)
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))
154
int column = (pt.
x
- _altTabInfo.ptStart.
x
) / _altTabInfo.cxItem;
401
int left = ptStart.
x
+ column * cxItem;
MS\Internal\AutomationProxies\WindowsEditBox.cs (5)
404
clientLocation.x = Math.Max(clientLocation.
x
, clientRect.left);
405
clientLocation.x = Math.Min(clientLocation.
x
, clientRect.right);
502
Debug.Assert(point.
x
>= 0 && point.
x
< 65536, "WindowsEditBox.CharFromPos() x 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\WindowsListView.cs (3)
1069
int pos = pt.
x
;
1086
if (pos != pt.
x
)
1804
fixed (int * location = &(pt.
x
))
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
125
Misc.MouseClick(pt.
x
, pt.y);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (3)
237
return new double[] { clickPoint.
x
, clickPoint.y };
950
if (pt.
x
< 0)
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));