5/26/08

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.

No comments: