🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.sdk
Article #225

avApp.MenuItemExecute

#225
From: swapneel_kulkarni
Date: Thu, 19 Mar 2009 16:54
16 lines
1001 bytes
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
Technical Details
Message-ID: <59b85975.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,90b42c3a825e3e75,start
X-Google-Attributes: gid10177e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: swapneel_kulkarni@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.acrobat.sdk
Subject: avApp.MenuItemExecute
Message-ID: <59b85975.-1@webcrossing.la2eafNXanI>
Date: Thu, 19 Mar 2009 09:54:48 -0700
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit