Re: GetClientRect() AND ShowWindow(SW_SHOWMAXIMIZED) in SDI app.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Joseph,

****
o_BookList.MoveWindow (o_Rect,TRUE);
****
This should fill the client area, but not the entire screen. And this should not compile
at all, since it should have been
o_BookList.MoveWindow(&o_Rect);

I beleive CRect has an LPRECT operator so that the code above does work.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

.