CAA窗口关闭函数

一般窗口CLOSE或CANCEL的函数写法:

void qqqqqqqqqqqqqqqqqqq::ActionCancelFunc( void *data )
{
//在CATFrmEditor作用域有GetCurrentEditor函数,方法为UnsetRepeatedCommand,
//清除重复命令
CATFrmEditor::GetCurrentEditor()->UnsetRepeatedCommand();

this->RequestDelayedDestruction();//清除界面

return ;
}

posted @ 2021-06-01 13:57  Breadss  阅读(161)  评论(0编辑  收藏  举报