title: How do I find position of a Win32 control/window relative to its parent window?
body: <p>Given handle of a Win32 window, I need to find position of it relative to its parent window.</p>
  
  <p>I know several functions (e.g.; <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms633519%28v=vs.85%29.aspx"><code>GetWindowRect()</code></a> and <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms633503%28v=vs.85%29.aspx"><code>GetClientRect()</code></a>), but none of them explicitly return the desired coordinates.</p>
  
  <p>How do I do this?</p>