View Full Version : How to get the pointer of CView?please...
03-11-2003, 08:21 PM
I build a project based SDI .In CMyView I use openGL to draw and render my 3D objects,then I create a dialog class based CDialog in order to control openGL of CMyView,but how to get the pointer of CView or CMyView?I use "CView* pView" in dialog class,but I fail to control openGL of CMyView.help me,please...
03-12-2003, 12:34 AM
If you open the dialog from the view, then just pass the "this" pointer to the dialog and you got it, or did I missunderstand the problem in some way ?
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.