What is difference between GetWindowRect and GetClientRect? How do you find the client rect of child window inside another window relative to parent?

GetWindowRect – It gives the rectangle of window frame including he client area (working area excluding windows framem , menu etc).

GetClientRect()- working area excluding windows frame , menu etc

Get the handle to the child window by using the item resource id And call GetClientRect() on that.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>