16 writes to x
UIAutomationClientSideProviders (16)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
279
if (!GetClickablePoint(alOut, out pt.
x
, out pt.y))
MS\Internal\AutomationProxies\CommonXSendMessage.cs (2)
2470
pt.
x
= x;
2499
pt.
x
= x;
MS\Internal\AutomationProxies\ProxySimple.cs (2)
583
pt.
x
= pt.y = 0;
592
pt.
x
= (rcItem.right - 1 + rcItem.left) / 2;
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
365
clientLocation.
x
= Math.Max(clientLocation.x, clientRect.left);
366
clientLocation.
x
= Math.Min(clientLocation.x, clientRect.right);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
240
w32point.
x
= 0;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
197
HitTestInfo.pt.
x
= x;
484
HitTestInfo.pt.
x
= x;
MS\Internal\AutomationProxies\WindowsListView.cs (2)
1793
pt.
x
= 0;
1796
fixed (int * location = &(pt.
x
))
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
914
clickPoint.
x
= clickPoint.y = 0;
947
clickPoint.
x
= Math.Min ((itemRectangle.left + 5), (itemRectangle.left + itemRectangle.right) / 2);
MS\Win32\NativeMethods.cs (2)
1249
this.
x
= x;
1668
pt.
x
= x;
39 references to x
UIAutomationClientSideProviders (39)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (3)
989
new NativeMethods.TVHITTESTINFO(clientPoint.
x
, clientPoint.y, 0);
998
TVHITTESTINFO_32 hitTestInfo32 = new TVHITTESTINFO_32(clientPoint.
x
, clientPoint.y, 0);
1007
TVHITTESTINFO_64 hitTestInfo64 = new TVHITTESTINFO_64(clientPoint.
x
, clientPoint.y, 0);
MS\Internal\AutomationProxies\Misc.cs (3)
249
rc = new NativeMethods.Win32Rect(leftTop.
x
, leftTop.y, rightBottom.
x
, rightBottom.y);
975
Input.SendMouseInput(ptPrevious.
x
, ptPrevious.y, 0, SendMouseInputFlags.Move | SendMouseInputFlags.Absolute);
MS\Internal\AutomationProxies\ProxySimple.cs (1)
228
return new double[] { pt.
x
, pt.y };
MS\Internal\AutomationProxies\WindowsAltTab.cs (4)
136
if (Misc.PtInRect(ref clientRect, pt.
x
, pt.y))
138
int column = (pt.
x
- _altTabInfo.ptStart.
x
) / _altTabInfo.cxItem;
385
int left = ptStart.
x
+ column * cxItem;
MS\Internal\AutomationProxies\WindowsEditBox.cs (5)
365
clientLocation.x = Math.Max(clientLocation.
x
, clientRect.left);
366
clientLocation.x = Math.Min(clientLocation.
x
, clientRect.right);
437
Debug.Assert(point.
x
>= 0 && point.
x
< 65536, "WindowsEditBox.CharFromPos() x coordinate out of range.");
443
IntPtr lParam = NativeMethods.Util.MAKELPARAM(point.
x
, point.y);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
246
Point mapClientToScreen = new Point(w32point.
x
, w32point.y);
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (1)
128
Misc.MouseClick(pt.
x
, pt.y);
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
1117
Misc.MouseClick(pt.
x
, pt.y);
MS\Internal\AutomationProxies\WindowsListView.cs (2)
1058
int pos = pt.
x
;
1075
if (pos != pt.
x
)
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
124
Misc.MouseClick(pt.
x
, pt.y);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (3)
227
return new double[] { clickPoint.
x
, clickPoint.y };
936
if (pt.
x
< 0)
954
Misc.MouseClick(clickPoint.
x
, clickPoint.y, !WindowsListView.ListViewSingleClickActivate(_hwnd));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
253
Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));
254
Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
485
IntPtr center = NativeMethods.Util.MAKELPARAM (pt.
x
, pt.y);
MS\Internal\AutomationProxies\WindowsTab.cs (4)
1111
Misc.MouseClick(pt.
x
, pt.y);
1147
Misc.MouseClick(pt.
x
, pt.y);
1307
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));
1308
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));
MS\Internal\AutomationProxies\WindowsTooltip.cs (5)
241
IntPtr hwnd = UnsafeNativeMethods.WindowFromPhysicalPoint(pt.
x
, pt.y);
257
if (pt.
x
>= rects[scan].Left && pt.
x
<= rects[scan].Right && pt.y >= rects[scan].Top && pt.y <= rects[scan].Bottom)
299
IntPtr hwnd = UnsafeNativeMethods.WindowFromPhysicalPoint(pt.
x
, pt.y);
305
int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
1542
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));
1543
Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y));