Position of child control..?
This seems such a basic question but i cant find the answer anywhere. How do i get the position of a child control RELATIVE to its parent. GetClientRect does not return its position. It sets the left and top fields to 0 all the time. I want to get the same X and Y that i used when i call CreateWindowEx().
EDIT: even more helpful would be to tell me how i can get the control in the below screenshot to automatically grow and shrink when the user grows and shrinks the window.
[img=http://img146.imageshack.us/img146/7359/testoi5.th.jpg]