|
-
October 15th, 1999, 03:43 PM
#1
SDI Client Size
I am trying to throw a window into the client area
of an SDI MFc App.
I cannot seem to get the correct size on the window, to get it in there. What is an easy way to store the client area into a crect. i can do it by enuming all the windows but don't really want to do that if I don't ahve to thanks
-
October 15th, 1999, 05:15 PM
#2
Re: SDI Client Size
Hey,
Do you need to know the client size?
do that (at the CView class...):
CRect size;
GetClientRect(size);
size.bottom is the client height
size.right is the client width.
Contact me for more help....
Les.
-
October 18th, 1999, 07:50 AM
#3
Re: SDI Client Size
Well all I decided to do was to Get the view, and
take the window size of the view, and that allowed me to place my window where in the area i wanted it. I don't know if you know but is there a window style to dock a window into an SDI app?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|