Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
swapneel_kulkarni@adobeforums.com #1
avApp.MenuItemExecute
I am trying to execute a menuitem in Acrobat from an external application
In my code for executing the menuitem I have the following
AVDoc currentAVDoc = AVAppGetActiveDoc();
if (!currentAVDoc)
{
AfxMessageBox(_T("Open PDF File First"));
return;
}
It is always popping up the MessageBox when Acrobat is minimized, or sometimes also when Acrobat is the active application..
Can someone please advise
Thanks
Swapneel
swapneel_kulkarni@adobeforums.com Guest
-
Where is App.MenuItemExecute documented?
I have been searching the SDK for where the function: AcrobatApp.MenuItemExecute (szMenuItemName) is fully described. The IACReference.pdf defines... -
swapneel_kulkarni@adobeforums.com #2
Re: avApp.MenuItemExecute
MenuItemExecute
swapneel_kulkarni@adobeforums.com Guest
-
PDL@adobeforums.com #3
Re: avApp.MenuItemExecute
Do you have a document open in Acrobat, or just the application open?
PDL@adobeforums.com Guest
-
swapneel_kulkarni@adobeforums.com #4
Re: avApp.MenuItemExecute
The document is open in Acrobat
swapneel_kulkarni@adobeforums.com Guest
-
swapneel_kulkarni@adobeforums.com #5
Re: avApp.MenuItemExecute
When the document is opened and Acrobat is the active application,
if i click on the document( anywhere ) , It executes the menuitem
If i sit back and watch then i get the messagebox mentioned above
thanks for your replies
swapneel_kulkarni@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #6
Re: avApp.MenuItemExecute
Correct. You can't execute menus in non-foreground applications. It's a security precaution.
Leonard_Rosenthol@adobeforums.com Guest



Reply With Quote

