MFC非模态对话框内存释放

xiaoxiao2021-02-28  60

非模态对话框的内存释放:

第一步:在OnClose() 函数中添加DestroyWindow() ;

第二步:在PostNcDestroy() 中添加delete this。

转载请注明原文地址: https://www.6miu.com/read-48419.html

最新回复(0)