Hi, i wanted to know how can i get the x/y poisition a window, could anyone help me please? thanks
Quote:
Hi, i wanted to know how can i get the x/y poisition a window, could anyone help me please? thanks
GetWindowRect();
CPoint pt;
CRect rect = GetWindowRect();
pt.x = rect.left; //or rect.right
pt.y = rect.top; //or rect.bottom