I have a rectangle of size:
CRect recTmp = CRect(0, 0, 200, 200);
In OnSize() message handler, I'd like to center text and other items inside the rectangle based on the new sizeof the window.
So, if the user resizes the window to CSize newSize(250, 250), the text and items new position will be (125, 125).
Anyways, I need a way to get the most current size of the view rectangle in either CPoint or CSize.
I have tried GetWindowOrg() and GetWindowExt(). I have not gotten any accurate size back from CDC.