CScrollView becomes too big on screen
-
Hi. Another question, I currently call
ResizeParentToFit(false);
in my CView::OnDraw. It resizes my windows to fit the dimension of the image I draw inside it. However the CView screen becomes too big when I display an image that is larger than the screen, and user has no access to the lower/right borders of the window. What are the function calls I can do to make sure that the CView window's right and bottom border only becomes as big as the ParentWindow? :confused: Thanks! -
Hi. Another question, I currently call
ResizeParentToFit(false);
in my CView::OnDraw. It resizes my windows to fit the dimension of the image I draw inside it. However the CView screen becomes too big when I display an image that is larger than the screen, and user has no access to the lower/right borders of the window. What are the function calls I can do to make sure that the CView window's right and bottom border only becomes as big as the ParentWindow? :confused: Thanks!