MFC VS2005 添加Override 和 Message

VS2005

1.Overrides

 OnInitDialog() 

在Class View选中 这个类,然后properties中点Message 旁边的Overrides, 添加OnInitDialog()


 

2.Message

 选中RC资源 窗口,在properties中点Message添加OnCreate(),等等

自己手动添加试过也可以,但是最好还是用系统 去添加吧~

原文地址:https://www.cnblogs.com/scotth/p/3687209.html