63 references to Util
UIAutomationClientSideProviders (63)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
262int lr = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\NonClientArea.cs (1)
215int hit = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
391IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.CBN_EDITUPDATE));
MS\Internal\AutomationProxies\WindowsEditBox.cs (6)
443IntPtr lParam = NativeMethods.Util.MAKELPARAM(point.x, point.y); 445indexLowWord = unchecked((ushort)(NativeMethods.Util.LOWORD(result))); 446lineLowWord = unchecked((ushort)(NativeMethods.Util.HIWORD(result))); 746int x = (int)((short)NativeMethods.Util.LOWORD(result)); 747int y = (int)((short)NativeMethods.Util.HIWORD(result)); 970int i = NativeMethods.Util.MAKELONG((int)lowWord, (int)hiWord);
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
108int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 116int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
508Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 509Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsListBox.cs (5)
294int ret = Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_ITEMFROMPOINT, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x - listboxrect.left, y - listboxrect.top)); 295if (NativeMethods.Util.HIWORD(ret) == 0) 297int index = NativeMethods.Util.LOWORD(ret); 1152new IntPtr(NativeMethods.Util.MAKELONG( 1171IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.LBN_SELCHANGE));
MS\Internal\AutomationProxies\WindowsListView.cs (3)
627int cx = NativeMethods.Util.LOWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXBORDER)*/; 628int cy = NativeMethods.Util.HIWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CYBORDER)*/; 1256return Misc.ProxySendMessageInt(hwnd, NativeMethods.LVM_APPROXIMATEVIEWRECT, new IntPtr(-1), NativeMethods.Util.MAKELPARAM(-1, -1));
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
253Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 254Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
92int cPelsAll = NativeMethods.Util.LOWORD (size); 98int cPelsAll = NativeMethods.Util.HIWORD (size); 117int cPelsAll = NativeMethods.Util.LOWORD (size); 123int cPelsAll = NativeMethods.Util.HIWORD (size);
MS\Internal\AutomationProxies\WindowsScroll.cs (2)
316int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.nPos); 427int 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)
484IntPtr center = NativeMethods.Util.MAKELPARAM (pt.x, pt.y); 728IntPtr 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)
112int hit = Misc.ProxySendMessageInt(_hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, (IntPtr)NativeMethods.Util.MAKELONG(x, y));
MS\Internal\AutomationProxies\WindowsTooltip.cs (1)
308int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
943int highPart = NativeMethods.Util.HIDWORD((long)_hItem); 944int lowPart = NativeMethods.Util.LODWORD((long)_hItem); 1542Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1543Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsUpDown.cs (8)
227Misc.ProxySendMessage(_hwnd, NativeMethods.UDM_SETPOS, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(newPos, 0)); 230Misc.ProxySendMessage(HwndBuddy(_hwnd), NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 351return (double)NativeMethods.Util.LOWORD(pos); 382int min = NativeMethods.Util.HIWORD(range); 383int max = NativeMethods.Util.LOWORD(range); 396int min = NativeMethods.Util.HIWORD(range); 397int max = NativeMethods.Util.LOWORD(range); 543IntPtr center = NativeMethods.Util.MAKELPARAM (x, y);