layer window
layer window
hi!
i抦 trying to grab the layer window from the odamfcapp and then implement it the same way in my own app.
i抳e only been into dwgdirect for a couple of weeks and i need more time to look into things, no doubt.
but i still find below to be a bit puzzling.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx
?
?
#include "odalayerpropmanagerdlg.h"
?
?
bool cdxfdocview:

nopenlayerdlg()
{
lpctstr lpszpathname = m_pdocument->getpathname();
if (!lpszpathname)
return false;
try
{
m_pdb = theapp.readfile( lpszpathname , true, false);
odalayerpropmanagerdlg dlglayerpropmaneger( m_pdb );
if (idok == dlglayerpropmaneger.domodal())
{
updateallviews(0);
}
}
catch(oderror& /*e*/)
{
}
catch(userbreak)
{
return false;
}
return true;
}
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx
nothing happens! i抳e missed something maybe not above but there are thing needed to be done but where. please help me!
best to all of you!
hi again!
i've come so far so i understand that it has to be:
dlglayerpropmaneger.domodal())
that is not doing it's job.
it's now been fixed!
i missed some basic things that's all folks!