Defining a child CWnd object from a CRect
Posted on 2001-07-22
I want to get a CWnd object of my view class that is a portion of the view window. Basically what I want is a CWnd object that represents
of the view window.
Then, given the CWnd object (call it pWnd) I should be able to go
CDC * pDC = pWnd->GetDC();
I don't know if the following info will help but the reason I need the pWnd object is because I need to tell the clipper returned by Direct3D's function DirectDrawCreateClipper what window it can draw on.