63 references to Util
UIAutomationClientSideProviders (63)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
259int lr = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\NonClientArea.cs (1)
208int hit = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
386IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.CBN_EDITUPDATE));
MS\Internal\AutomationProxies\WindowsEditBox.cs (6)
442IntPtr lParam = NativeMethods.Util.MAKELPARAM(point.x, point.y); 444indexLowWord = unchecked((ushort)(NativeMethods.Util.LOWORD(result))); 445lineLowWord = unchecked((ushort)(NativeMethods.Util.HIWORD(result))); 747int x = (int)((short)NativeMethods.Util.LOWORD(result)); 748int y = (int)((short)NativeMethods.Util.HIWORD(result)); 971int i = NativeMethods.Util.MAKELONG((int)lowWord, (int)hiWord);
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
107int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 115int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
504Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 505Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsListBox.cs (5)
290int ret = Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_ITEMFROMPOINT, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x - listboxrect.left, y - listboxrect.top)); 291if (NativeMethods.Util.HIWORD(ret) == 0) 293int index = NativeMethods.Util.LOWORD(ret); 1142new IntPtr(NativeMethods.Util.MAKELONG( 1161IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.LBN_SELCHANGE));
MS\Internal\AutomationProxies\WindowsListView.cs (3)
623int cx = NativeMethods.Util.LOWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXBORDER)*/; 624int cy = NativeMethods.Util.HIWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CYBORDER)*/; 1252return Misc.ProxySendMessageInt(hwnd, NativeMethods.LVM_APPROXIMATEVIEWRECT, new IntPtr(-1), NativeMethods.Util.MAKELPARAM(-1, -1));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
252Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 253Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
93int cPelsAll = NativeMethods.Util.LOWORD (size); 99int cPelsAll = NativeMethods.Util.HIWORD (size); 118int cPelsAll = NativeMethods.Util.LOWORD (size); 124int cPelsAll = NativeMethods.Util.HIWORD (size);
MS\Internal\AutomationProxies\WindowsScroll.cs (2)
318int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.nPos); 431int wParam = NativeMethods.Util.MAKELONG (nAction, 0);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
698int wParam = NativeMethods.Util.MAKELONG ((short) NativeMethods.SB_THUMBPOSITION, (short) val); 700wParam = NativeMethods.Util.MAKELONG ((short) NativeMethods.SB_THUMBTRACK, (short) val);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
600int len = NativeMethods.Util.LOWORD(retValue);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
478IntPtr center = NativeMethods.Util.MAKELPARAM (pt.x, pt.y); 719IntPtr center = NativeMethods.Util.MAKELPARAM (rectW32.left + ((rectW32.right - rectW32.left) / 2), rectW32.top + ((rectW32.bottom - rectW32.top) / 2));
MS\Internal\AutomationProxies\WindowsTab.cs (15)
505int minPos = NativeMethods.Util.HIWORD(range); 506int maxPos = NativeMethods.Util.LOWORD(range); 513Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, (IntPtr)NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 539minPos = NativeMethods.Util.HIWORD(range); 540maxPos = NativeMethods.Util.LOWORD(range); 541currentPos = NativeMethods.Util.LOWORD(posResult); 688int max = NativeMethods.Util.LOWORD(range); 692Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 810int max = NativeMethods.Util.LOWORD(range); 811int min = NativeMethods.Util.HIWORD(range); 813if (NativeMethods.Util.HIWORD (newPos) == 0) 818newPos = NativeMethods.Util.LOWORD (newPos); 849Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 1299Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1300Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsTitleBar.cs (1)
111int hit = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, (IntPtr)NativeMethods.Util.MAKELONG(x, y));
MS\Internal\AutomationProxies\WindowsTooltip.cs (1)
304int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
938int highPart = NativeMethods.Util.HIDWORD((long)_hItem); 939int lowPart = NativeMethods.Util.LODWORD((long)_hItem); 1537Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1538Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsUpDown.cs (8)
223Misc.ProxySendMessage(_hwnd, NativeMethods.UDM_SETPOS, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(newPos, 0)); 226Misc.ProxySendMessage(HwndBuddy(_hwnd), NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 347return (double)NativeMethods.Util.LOWORD(pos); 378int min = NativeMethods.Util.HIWORD(range); 379int max = NativeMethods.Util.LOWORD(range); 392int min = NativeMethods.Util.HIWORD(range); 393int max = NativeMethods.Util.LOWORD(range); 539IntPtr center = NativeMethods.Util.MAKELPARAM (x, y);