MFC Scroll Bar in a Nested Subbox

38 Views Asked by At

I have a CWnd based MySubBox class. I would like to display the Scrollbar if MySubBox child contents exceed the window size. I already used WM_VSCROLL, WM_HSCROLL, WM_SIZE to handle scrolling. I have a case where I have a Nested Subboxes. Example - Assume I have a Nested Subbox. A is the Parent Subbox, B is the Child Subbox, C is the Grandchild Subbox. C Subbox is bigger because of its contents. How can I display Scrollbar in C Subbox only ignoring A & B Subbox

0

There are 0 best solutions below