We have requirement to change menu according which document is opened and activated in Framemaker.
We have different types of document, but all are FrameMaker FM document.
I search for some event when document is activated/switched to as active, but cannot find any.
When I have opened two documents and switch from one document to another in UI, I'll get only BackToUser event.
Is there are way how to know that document has been activated?
Is it safe to handle BackToUser and according FP_ActiveDoc change the menu in FrameMaker.
Have you tried FA_Note_PostActiveDocChange? I've used it successfully and I believe that it has been supported for some time.
Looks like it's working, despite it is marked as "Only for FM Internal Use".
But in FM10 it is also called when document is closing by close of FrameMaker, but I think we can handle it.