CAA窗口关闭函数


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

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

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

return ;
}

相关