title: How to move an UI automation element to a different location?
body: <p>I have a C#.NET app where I am able to find a AutomationElement at a particular point using FromPoint function.</p>
  
  <p>Now I want to manipulate that AutomationElement so that I can move it to a different location, resize it etc.</p>
  
  <p>For moving and resizing , I thought that I can use SetWindowPos Window API function but that requires the handle(an IntPtr) of the target window.  Using the AutomationElement's "Current" property, i can read the NativeWindowHandle(an int) of it. 
  Since Control is also a window, I passed this int value as window handle to the SetWindowPost function hoping that it would do my job.</p>
  
  <p>But the code is not working. </p>
  
  <p>Kindly suggest me a way to do this.</p>