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)
209int 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))); 748int x = (int)((short)NativeMethods.Util.LOWORD(result)); 749int y = (int)((short)NativeMethods.Util.HIWORD(result)); 972int 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)
509Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y)); 510Misc.ProxySendMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x, y));
MS\Internal\AutomationProxies\WindowsListBox.cs (5)
291int ret = Misc.ProxySendMessageInt(_hwnd, NativeMethods.LB_ITEMFROMPOINT, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(x - listboxrect.left, y - listboxrect.top)); 292if (NativeMethods.Util.HIWORD(ret) == 0) 294int index = NativeMethods.Util.LOWORD(ret); 1143new IntPtr(NativeMethods.Util.MAKELONG( 1162IntPtr wParam = new IntPtr(NativeMethods.Util.MAKELONG(id, NativeMethods.LBN_SELCHANGE));
MS\Internal\AutomationProxies\WindowsListView.cs (3)
624int cx = NativeMethods.Util.LOWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CXBORDER)*/; 625int cy = NativeMethods.Util.HIWORD (size) /*- 2 * UnsafeNativeMethods.GetSystemMetrics (NativeMethods.SM_CYBORDER)*/; 1253return 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)
94int cPelsAll = NativeMethods.Util.LOWORD (size); 100int cPelsAll = NativeMethods.Util.HIWORD (size); 119int cPelsAll = NativeMethods.Util.LOWORD (size); 125int cPelsAll = NativeMethods.Util.HIWORD (size);
MS\Internal\AutomationProxies\WindowsScroll.cs (2)
319int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.nPos); 432int wParam = NativeMethods.Util.MAKELONG (nAction, 0);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
699int wParam = NativeMethods.Util.MAKELONG ((short) NativeMethods.SB_THUMBPOSITION, (short) val); 701wParam = NativeMethods.Util.MAKELONG ((short) NativeMethods.SB_THUMBTRACK, (short) val);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
601int len = NativeMethods.Util.LOWORD(retValue);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
479IntPtr center = NativeMethods.Util.MAKELPARAM (pt.x, pt.y); 720IntPtr center = NativeMethods.Util.MAKELPARAM (rectW32.left + ((rectW32.right - rectW32.left) / 2), rectW32.top + ((rectW32.bottom - rectW32.top) / 2));
MS\Internal\AutomationProxies\WindowsTab.cs (15)
510int minPos = NativeMethods.Util.HIWORD(range); 511int maxPos = NativeMethods.Util.LOWORD(range); 518Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, (IntPtr)NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 544minPos = NativeMethods.Util.HIWORD(range); 545maxPos = NativeMethods.Util.LOWORD(range); 546currentPos = NativeMethods.Util.LOWORD(posResult); 693int max = NativeMethods.Util.LOWORD(range); 697Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 815int max = NativeMethods.Util.LOWORD(range); 816int min = NativeMethods.Util.HIWORD(range); 818if (NativeMethods.Util.HIWORD (newPos) == 0) 823newPos = NativeMethods.Util.LOWORD (newPos); 854Misc.ProxySendMessage(_hwnd, NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 1304Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, (IntPtr)NativeMethods.MK_LBUTTON, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1305Misc.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)
305int hit = Misc.ProxySendMessageInt(hwnd, NativeMethods.WM_NCHITTEST, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
940int highPart = NativeMethods.Util.HIDWORD((long)_hItem); 941int lowPart = NativeMethods.Util.LODWORD((long)_hItem); 1539Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONDOWN, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y)); 1540Misc.PostMessage(_hwnd, NativeMethods.WM_LBUTTONUP, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(pt.x, pt.y));
MS\Internal\AutomationProxies\WindowsUpDown.cs (8)
224Misc.ProxySendMessage(_hwnd, NativeMethods.UDM_SETPOS, IntPtr.Zero, NativeMethods.Util.MAKELPARAM(newPos, 0)); 227Misc.ProxySendMessage(HwndBuddy(_hwnd), NativeMethods.WM_HSCROLL, NativeMethods.Util.MAKELPARAM(NativeMethods.SB_THUMBPOSITION, newPos), IntPtr.Zero); 348return (double)NativeMethods.Util.LOWORD(pos); 379int min = NativeMethods.Util.HIWORD(range); 380int max = NativeMethods.Util.LOWORD(range); 393int min = NativeMethods.Util.HIWORD(range); 394int max = NativeMethods.Util.LOWORD(range); 540IntPtr center = NativeMethods.Util.MAKELPARAM (x, y);