查看单个帖子
旧 2009-05-04, 03:13 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】a question about console dialog

a question about console dialog.
a question about console dialog.
help me everyone!!
when debugging the our program and it mark to the red colored line, it cause the wrong dialog as attached, console.jpg.
however when we debug the odamfcapp program,this sample not appear the dialog, but our application appear the dialog as attached screen (console.jpg)
i don't want appear this dialog . i don't find difference between odamfcapp program and our application.
please guide me how to skip this dialog and go on next process.
also please guide me if there is any wrong process/action. i made as follows.
thanks.
bool odexeditorobject:nmouseleftbuttonclickfff">(unsigned int nflags, int x, int y,
odexeditorobject:ledragcallback* pdragcallback)
{
.
.
.
oddbuserio* pio = m_pcmdctx->dbuserio();
pio->setlastpoint(pt);
pio->setpickfirst(0);
int options = oded::kselpicklastpoint|
oded::kselsinglepass|
oded::kselleavehighlighted;
setbit(options, oded::kselremove, getbit(nflags, kshiftisdown));
oddbselectionsetptr psset = pio->select(odstring::kempty, options, workingsset());
odgsview* pview = activeview();
if(m_pgrippoints.get())
pview->erase(m_pgrippoints);
if ( psset->numentities()>0 )
{
m_pgrippoints = odrxcreateobject( dd_t("grippointscloning") );
if ( m_pgrippoints.get() )
{
oddbselectionsetiteratorptr piter = psset->newiterator();
while ( !piter->done() )
{
m_pgrippoints->addentity( piter->objectid() );
piter->next();
}
pview->add(m_pgrippoints, 0);
}
}
setworkingsset(psset);
}
catch(const odedcancel&)
{
}
catch(const oderror& e)
{
m_pcmdctx->userio()->putstring(e.description());
return false;
}
return true;
}
attached images
hi,
i guess the problem is in your analog of
odgepoint3d codamfcappdoc::getpoint(const odstring& prompt, int options, odedpointtracker* ptracker). by the some reason console's getpoint() is called instead of viewer's one...
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)