一个SDI程序,想要在CWinapp类中Update所有的view。
所以想在CWinapp中获得CDocument的指针,然后在updateallviews。
不知如何在CWinapp类中获得CDocument的指针??
或者还有其他的做法??