21 references to WindowHandle
UIAutomationClientsideProviders (21)
MS\Internal\AutomationProxies\WindowsEditBox.cs (17)
391
if (!Misc.MapWindowPoints(IntPtr.Zero,
WindowHandle
, ref clientLocation, 1))
400
if (!Misc.GetClientRect(
WindowHandle
, ref clientRect))
509
int result = Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_CHARFROMPOS, IntPtr.Zero, lParam);
581
return Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_GETFIRSTVISIBLELINE, IntPtr.Zero, IntPtr.Zero);
588
return Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_GETFIRSTVISIBLELINE, IntPtr.Zero, IntPtr.Zero);
594
IntPtr result = Misc.ProxySendMessage(
WindowHandle
, NativeMethods.WM_GETFONT, IntPtr.Zero, IntPtr.Zero);
611
return Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_GETLINECOUNT, IntPtr.Zero, IntPtr.Zero);
631
Misc.ProxySendMessage(
WindowHandle
, NativeMethods.EM_GETRECT, IntPtr.Zero, ref rect);
639
Misc.ProxySendMessage(
WindowHandle
, NativeMethods.EM_GETSEL, out start, out end);
651
return Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.WM_GETTEXTLENGTH, IntPtr.Zero, IntPtr.Zero);
737
return (!SafeNativeMethods.IsWindowEnabled(
WindowHandle
) || Misc.IsBitSet(WindowStyle, NativeMethods.ES_READONLY));
746
return Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_LINEFROMCHAR, (IntPtr)index, IntPtr.Zero);
752
int index = Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_LINEINDEX, (IntPtr)(line), IntPtr.Zero);
759
return 0 != Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_LINESCROLL, (IntPtr)charactersHorizontal, (IntPtr)linesVertical);
773
bool ok = Misc.GetScrollInfo(
WindowHandle
, NativeMethods.SB_VERT, ref si);
806
int result = Misc.ProxySendMessageInt(
WindowHandle
, NativeMethods.EM_POSFROMCHAR, (IntPtr)index, IntPtr.Zero);
867
Misc.ProxySendMessage(
WindowHandle
, NativeMethods.EM_SETSEL, (IntPtr)start, (IntPtr)end);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
267
if (!Misc.MapWindowPoints(_provider.
WindowHandle
, IntPtr.Zero, ref w32point, 1))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (2)
504
return (!SafeNativeMethods.IsWindowEnabled(
WindowHandle
) ||
528
if (UnsafeNativeMethods.AccessibleObjectFromWindow(
WindowHandle
, NativeMethods.OBJID_NATIVEOM, ref UnsafeNativeMethods.IID_IDispatch, ref obj) != NativeMethods.S_OK)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
194
Misc.GetClientRectInScreenCoordinates(_pattern.
WindowHandle
, ref w32rect);