How do I allow user to interact with PDF while plugin works in the background (Acrobat C++ SDK)?
Hi,
I am working on an Acrobat Plugin using the C++ SDK for Windows.
I've implemented a toolbar as part of the plugin. Part of the plugin actions is compute and time intensive. The compute intensive task is now part of a background thread, however, I cannot interact with the document while the toolbar is active. I believe this is because the right and left click action of Adobe are associate with the DoClickProcType callback
My question is the following:
Is there a way to release the right and left click to the default tool so that the user can interact with the document using the usual tools (select, pan,. etc...) while my plugin does background work?
Things that I have tried but didn't work:
- Registered the plugin window application using WinAppRegisterModeless
- Disable my plugin, and its toolbar and set the default tool using AVAppSetActiveTool(AVAppGetDefaultTool(), true). This seems to return the select tool (the arrow icon is highlighted in the toolbar area, but I can't right click)
- Tried associated a callback function that returns false to the IsPersistentProcType of AVToolRec
