63 references to Util
UIAutomationClientsideProviders (63)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
263int lr = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\NonClientArea.cs (1)
216int hit = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
408IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.CBN_EDITUPDATE));
MS\Internal\AutomationProxies\WindowsEditBox.cs (6)
508IntPtr lParam = NativeMethods.Util.MAKELPARAM(point.x, point.y); 510indexLowWord = unchecked((ushort)(NativeMethods.Util.LOWORD(result))); 511lineLowWord = unchecked((ushort)(NativeMethods.Util.HIWORD(result))); 811int x = (int)((short)NativeMethods.Util.LOWORD(result)); 812int y = (int)((short)NativeMethods.Util.HIWORD(result)); 1035int i = NativeMethods.Util.MAKELONG((int)lowWord, (int)hiWord);
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
122int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 130int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
523Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 524Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsListBox.cs (5)
306int ret = Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_ITEMFROMPOINT, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x - listboxrect.left, y - listboxrect.top)); 307if (NativeMethods.Util.HIWORD(ret) == 0) 309int index = NativeMethods.Util.LOWORD(ret); 1164new IntPtr(NativeMethods.Util.MAKELONG( 1183IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.LBN_SELCHANGE));
MS\Internal\AutomationProxies\WindowsListView.cs (3)
637int cx = NativeMethods.Util.LOWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXBORDER)*/; 638int cy = NativeMethods.Util.HIWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CYBORDER)*/; 1267return Misc.ProxySendMessageInt(hwnd, NativeMethods.LVM_APPROXIMATEVIEWRECT, new IntPtr(-1), NativeMethods.Util.MAKELPARAM(-1, -1));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
260Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 261Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
103int cPelsAll = NativeMethods.Util.LOWORD (size); 109int cPelsAll = NativeMethods.Util.HIWORD (size); 128int cPelsAll = NativeMethods.Util.LOWORD (size); 134int cPelsAll = NativeMethods.Util.HIWORD (size);
MS\Internal\AutomationProxies\WindowsScroll.cs (2)
326int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.nPos); 437int wParam = NativeMethods.Util.MAKELONG (nAction, 0);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
713int wParam = NativeMethods.Util.MAKELONG ((short) NativeMethods.SB_THUMBPOSITION, (short) val); 715wParam = NativeMethods.Util.MAKELONG ((short) NativeMethods.SB_THUMBTRACK, (short) val);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
614int len = NativeMethods.Util.LOWORD(retValue);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
497IntPtr center = NativeMethods.Util.MAKELPARAM (pt.x, pt.y); 741IntPtr center = NativeMethods.Util.MAKELPARAM (rectW32.left + ((rectW32.right - rectW32.left) / 2), rectW32.top + ((rectW32.bottom - rectW32.top) / 2));
MS\Internal\AutomationProxies\WindowsTab.cs (15)
512int minPos = NativeMethods.Util.HIWORD(range); 513int maxPos = NativeMethods.Util.LOWORD(range); 520Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, (IntPtr)NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 546minPos = NativeMethods.Util.HIWORD(range); 547maxPos = NativeMethods.Util.LOWORD(range); 548currentPos = NativeMethods.Util.LOWORD(posResult); 694int max = NativeMethods.Util.LOWORD(range); 698Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 816int max = NativeMethods.Util.LOWORD(range); 817int min = NativeMethods.Util.HIWORD(range); 819if (NativeMethods.Util.HIWORD (newPos) == 0) 824newPos = NativeMethods.Util.LOWORD (newPos); 855Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 1305Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1306Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsTitleBar.cs (1)
124int hit = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, (IntPtr)NativeMethods.Util.MAKELONG(x, y));
MS\Internal\AutomationProxies\WindowsTooltip.cs (1)
324int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
954int highPart = NativeMethods.Util.HIDWORD((long)_hItem); 955int lowPart = NativeMethods.Util.LODWORD((long)_hItem); 1553Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1554Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsUpDown.cs (8)
244Misc.ProxySendMessage(_hwnd, NativeMethods.UDM_SETPOS, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(newPos, 0)); 247Misc.ProxySendMessage(HwndBuddy(_hwnd), NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 368return (double)NativeMethods.Util.LOWORD(pos); 399int min = NativeMethods.Util.HIWORD(range); 400int max = NativeMethods.Util.LOWORD(range); 413int min = NativeMethods.Util.HIWORD(range); 414int max = NativeMethods.Util.LOWORD(range); 560IntPtr center = NativeMethods.Util.MAKELPARAM (x, y);