To inherit from CWnd and to do my own scroll Wnd it's a lot of job to do and I got stuck with it a bit.
I tried to use CScrollView, by making constructor, destructor public , and in
overriden PostNcDestroy I commented
CScrollView::PostNcDestroy() and seems like it works nicely without document and frame. Still I am afraid to use it so,since it might be dangerous(inside CScrollView there might be something connected with Doc or Frame)
So, how safely to use CScrollView in this way ?