Call Document actions using VC++

Explorer ,
Jun 04, 2020

Copy link to clipboard

Copied

Hi Everyone,

Here i have checked wheather the document is open or not, if opened i fetched the active document name. Now, i tried to fetch the document history actions using same method but it shows an error message like no memeber name declared like that, the code i have used is 

 IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();

UIDRef docRef = GetUIDRef(document);

if (document.undoHistory == nil)

    {

        CAlert::InformationAlert("history recorded");

    }

    if(document.undoHistory != nil)

    {

        CAlert::InformationAlert("no history recorded"); 

    }

How i can fetch the history list. please guide me to complete this
-Jothi

TOPICS
SDK, Server developers

Views

250

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
jothipriya AUTHOR LATEST
Explorer ,
Jun 08, 2020

Copy link to clipboard

Copied

Hi Everyone,

I'm still struggling with the query i'ave posted. Can anyone give me a solution..

-Jothi

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more