DECLARE_DYNAMIC IMPLEMENT_DYNAMIC

https://baike.baidu.com/item/CRuntimeClass/1439795?fr=aladdin

https://blog.csdn.net/tgdzsjh/article/details/30255733

https://www.cnblogs.com/weiqubo/archive/2010/12/24/1915833.html

继承自CObject的类:

类CDialogEx也继承自CObject;

.h中:

class CPara_EV : public CDialogEx
{
DECLARE_DYNAMIC(CPara_EV)

...

}

.cpp中:

IMPLEMENT_DYNAMIC(CPara_EV, CDialogEx)

 

posted @ 2018-11-29 19:02  kuaqi  阅读(190)  评论(0编辑  收藏  举报