摘要: 转自http://blog.csdn.net/loveghb/archive/2005/06/21/399784.aspx由GetDlgItem函数想到的我们在调用CWnd::GetDlgItem()函数时,MSDN告诉我们:The returned pointer may be temporary and should not be stored for later use.中文意思就是:返回的指针可能是临时的并且最好不要保存起来放到以后用。猜测:返回的指针既然可能是临时的,那么可能是非临时的(永久的),最好不要保存起来放到以后用(有时候可以保存起来)源码面前,了无秘密。让我们深入MFC源代 阅读全文
posted @ 2009-07-20 20:34 Avril 阅读(5683) 评论(0) 推荐(0) 编辑