iCAx开思工具箱
标题:
报错对话框Command interrupted是怎么回事?
[打印本页]
作者:
ashio
时间:
2007-5-10 18:02
标题:
报错对话框Command interrupted是怎么回事?
比如下面的语句,好像加了判断语句就会弹出报错对话框,如果去掉if语句能实现点击按钮弹出消息对话框。请问这个警告对话框是什么意思?该如何解决?
void ObjectModelerBase::OnpMsgBoxOpenPushButtonPushBActivateNotification(CATCommand* cmd,
CATNotification* evt, CATCommandClientData data)
{
// Add your code here
if (NULL==_pMsgNotifiy)
{
_pMsgNotifiy = new CATDlgNotify(this,"MsgFromNLS",CATDlgNfyOK);
}
_pMsgNotifiy->SetText(this->GetTitle());
_pMsgNotifiy->SetVisibility(CATDlgShow);
}
作者:
ashio
时间:
2007-5-11 13:16
问题解决了,是因为数据成员_pMsgNotifiy没初始化:)
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3