I have created a simple MFC app derived from CView base class. I need to someway get the center point's coordinates in the DocView pane. How could I possibly do that? Thank you in advance.<br><br>dex
Dear dex,<br><br>In any method of your CView derived class after the window has been created:<br><br>CRect rc;<br>GetClientRect( &rc);<br>CPoint pt(rc.Width() / 2, rc.Height() / 2);<br><br>Good luck<br>-pete
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.