高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】undo-problem
undo-problem
undo-problem
hi,
i have a problem with undo. i load a dxf/dwg-file, call startundorecording(); and then i change the color of some entities.
when i make undo (), i get the message "undo-operation is not available".
i don't now why this happend...
mathias
you class derived from oddbhostappservices must implement function newundocontroller() to enable undo functionality.
see odamfcapp sample: odamfcappapp::newundocontroller() returns an object implementing undo controller interface.
its sample implementaion is in examples/exservices folder.
sergey slezkin
ah!
thanks, this function was the problem. it works fine, now.
mathias
|