• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Call Document actions using VC++

Contributor ,
Jun 04, 2020 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

Views

326

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

LATEST

Hi Everyone,

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

-Jothi

Votes

Translate

Translate

Report

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