Is GetMenuItemInfo not work in acrobat???

I want invoke menu item(save) with SendMessage,but I can't get menu item(save) by GetSubMenu.
the code:
procedure ExecSave(h: THandle);
var
      muMain, ChildMenu: HMENU;
      k, n: integer;
      info, infosub: TMenuItemInfo;
      buffer, buffersub: array[0..254] of Char;
begin
      muMain := GetMenu(h);
      fillchar(info, sizeof(info), 0);
      info.cbSize := sizeof(info);
      info.fMask := MIIM_TYPE or MIIM_SUBMENU;
      info.dwTypeData := buffer;
      info.cch := 255;
      GetMenuItemInfo(muMain, 0, true, info);
     ChildMenu := getsubmenu(muMain, 0);
      k := GetMenuItemCount(ChildMenu);
      for n := 0 to k - 1 do begin
           fillchar(infosub, sizeof(infosub), 0);
           infosub.cbSize := sizeof(infosub);
           infosub.fMask := MIIM_ID or MIIM_TYPE or MIIM_STATE or MIIM_SUBMENU;
           infosub.dwTypeData := buffersub;
           infosub.cch := 255;
           GetMenuItemInfo(ChildMenu, n, true, infosub);
          // infosub.dwTypeData always is nil
          if Pos('Ctrl+S', infosub.dwTypeData) > 0 then begin
                    PostMessage(h, WM_COMMAND, GetMenuItemID(ChildMenu, n), 0);
           end;
      end;
end;

The Com Interface is not work under win 7(above acrobat 7),so I want use sendmessage to invoke save command。
(http://forums.adobe.com/thread/757369?)
it looks like  ,sendkey is not a good way

Similar Messages

  • SDK not work in Acrobat X

    I was using AcroAVDoc::FindText to find particular text and in Acrobat 9. The SDK work fine and will be scrolled and highlight the text. However, the same code not work in Acrobat X. Anywork have any idea how to make it work. Thanks.
    The code as below:
    Dim pdAVDoc as AcroAVDoc
    pdAVDoc.FindText("End Of Statement")

    So you're also implying that my code is fine and should work as far as you know?

  • Sendmail does not work in Acrobat 9.5.1.

    Acrobat 9.5.1
    OS 10.6.8
    The Sendmail feature does not work - when I try to attach mail, I get a warning:
    "The SendMail doesn't know how to talk to your default mail client.  Please select a different mail application to use."
    1.     Surely this should work?
    2.     How do I select a different mail application?

    This does not work in Acrobat XI either for Office 64bit (Office 2013 64 bit)
    Does anybody know the fix for this?
    I called tech support today but they dont seem to know anything about the error although its a known issue with all previous versions of Acrobat for serveral years now.
    I really need to make this work, there is a random google post where I have ot make some regedits, but why can't Adobe fix this known issue since it is nothing new?
    My basic understanding at this point is that even Acrobat XI is a 32 bit app and the programmers at Adobe still dont know how to write the API to talk to a 64bit mail client?
    I really need some help on this if anybody has a real solution.
    Thanks!

  • Hyperlink that contains backslash is not working in Acrobat Reader 8 and 9

    Hi,
    Does anyone know why a hyperlink that contains backslash is not working in Acrobat reader 8 and 9?
    I created a document in Indesign CS and it contains hyperlinks that open up files from network drive so they contain backslash (for example: c:\foder\forder\filename.jpg). All the hyperlinks work in Acrobat Reader 6 but not in Acrobat Reader 8 or 9.
    Anybody could share the solution would be very much appreciated. Thanks!

    Did you ever figure this out? I am also having problems with the "No Hand" javascript which turns off the (not very helpful) page-forward hand icon (a hand symbol with a down arrow) which confuses our users when in fullscreen mode. We create interactive PDFs and everything worked fine up to Acrobat X/Reader X. Now in XI it doesn't allow the internal link icon (pointing finger) nor weblink icon (pointing finger with W) to appear. It just remains a plain o’ hand icon no matter what you mouse over even though there are links present.

  • Reverse Printing Does not work in acrobat 9 pro

    Can anyone help with this? any suggestions?  I am trying to print a PDF portfolio. I need them to print in the reverse order they are currently printing in and checking the box Reverse pages does nothing??

    This does not work in Acrobat XI either for Office 64bit (Office 2013 64 bit)
    Does anybody know the fix for this?
    I called tech support today but they dont seem to know anything about the error although its a known issue with all previous versions of Acrobat for serveral years now.
    I really need to make this work, there is a random google post where I have ot make some regedits, but why can't Adobe fix this known issue since it is nothing new?
    My basic understanding at this point is that even Acrobat XI is a 32 bit app and the programmers at Adobe still dont know how to write the API to talk to a 64bit mail client?
    I really need some help on this if anybody has a real solution.
    Thanks!

  • Acrobat 7 plugin not working in Acrobat 8

    Hi,
    I have developped a plugin that run correctly in Acrobat 7.
    But if I use it in Acrobat 8 some fucntions are not working.
    Are there incompatibilities between versions ?
    Thanks

    Yes I have just tryed recompiling with SDK 8 Headers fles but it is worst. I have more functions that don't work.
    Functionnalities not working in Acrobat 8 :
    - Creating toolbars described in an xml file
    - When cliking a toolbar button updating a toolbar menu (the anchor button is well created but the menu is not attached to it)
    Thanks guys for your help

  • Exporting from PDF to Word 2010 is not working in Acrobat 8

    Exporting from PDF to Word 2010 is not working in Acrobat 8.  I'm getting the following errors/messages.  Any suggestions?
    The instruction at “0x29034c05” referenced memory at “0x0000030”. The memory could not be “written”.
    Click OK to terminate the program 
    Click onCANCEL to debug the program
    Runtime Error!
    Program: C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Acrobat.exe
    R6025
    -pure virtual function call

    Not supported by Acrobat 8. Supported by Acrobat X.
    Be well...

  • ALT+TAB key not working in Acrobat CC

    In PC, ALT+TAB key not working in Acrobat CC version...PLs. suggest your best ASAP

    How does this connect to the Acrobat SDK? Are you a programmer?

  • Alt scroll to zoom does not work in Acrobat anymore, why?

    I used this feature all the time before but it does not work anymore. Why?
    I have Mac OSX 10.10 Yosemite and use a Logitech mouse. Lates versions of all CC-apps.

    Still having this issue after an update...
    I review a lot of architectural drawings, which requires a lot zooming in/out to see details... Up until this last Acrobat Pro (11) update I was able to press option (Mac) and use the scroll wheel to zoom in and out... That convenient feature is now missing... I jacked around with several preferences and Page Display settings with no luck... I am hoping there is a checkbox hidden somewhere that I need to click on... Any clues????
    Thanks...

  • Attach JavaScript not working in Acrobat Reader XI

    Hello,
    I created a fillable PDF in which I used the following JavaScript for an "Attach" button: 
    this.importDataObject("MyFile");
    This JavaScript worked and allowed the end user to attach files to the PDF in previous versions of Acrobat (through version 10 / Pro), but the button's functionality does not work in Adobe Acrobat XI.  The button has no functionality when clicked, and no errors are received indicating what the issue may be.
    Is there a bug that exists making this file not compatible with the Acrobat XI version, or is my coding outdated/inaccurate?
    Please advise and thank you for your help!
    Jessi Fenton

    Did you ever figure this out? I am also having problems with the "No Hand" javascript which turns off the (not very helpful) page-forward hand icon (a hand symbol with a down arrow) which confuses our users when in fullscreen mode. We create interactive PDFs and everything worked fine up to Acrobat X/Reader X. Now in XI it doesn't allow the internal link icon (pointing finger) nor weblink icon (pointing finger with W) to appear. It just remains a plain o’ hand icon no matter what you mouse over even though there are links present.

  • SignatureValidate() method not working in acrobat reader 5

    Hi All,
    Will the method signatureValidate() work in acrobat reader 5. the same pdf validation which is working in acrobat reader versions >= 7 and not working in version 5. Kindly let me know if there are any alternative methods available to detect the digital signature field changes in lower versions. Urgent help required on this.
    thanks in advance.

    Did you ever figure this out? I am also having problems with the "No Hand" javascript which turns off the (not very helpful) page-forward hand icon (a hand symbol with a down arrow) which confuses our users when in fullscreen mode. We create interactive PDFs and everything worked fine up to Acrobat X/Reader X. Now in XI it doesn't allow the internal link icon (pointing finger) nor weblink icon (pointing finger with W) to appear. It just remains a plain o’ hand icon no matter what you mouse over even though there are links present.

  • PDFMaker icon not working in Acrobat Pro 8.3.1.

    I am using  OS Windows XP Home and Microsoft Office 2003.
    I generally use the work around of "Print". Annoying that I cannot use the PDFMaker icon in any Microsoft products. It use to work flawlessly. I keep getting the annoying message "The acrobat pdfmaker server could not be loaded". I have found solutions regarding modifying registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroDist.exe"
    Since I do not have a folder that specifically says Distillr, I modified the default key to C:\Program Files\Adobe\Acrobat 8.0\Acrobat\acrodist.exe and Path to C:\Program Files\Adobe\Acrobat 8.0\Acrobat\.
    Did not work.
    Anyone out there know how to repair??? The Acrobat "Repair" procedure is really not working for me.
    Thanks.

    Gernal_USA,
    I'm moving your question to the Acrobat forum, since it does not relate to the CreatePDF service.
    Dave

  • Ctrl v does not work in acrobat

    I cannot paste text from word into Acrobat anymore (worked this morning, now not working).

    Hi S Hart,
    I just replied to the private message you sent me, but if you could please post your answers to this post, I would appreciate it! That way, the resolution we arrive at will be available publicly, and we might just help another user with the same issue.
    Thanks!
    Sara

  • Basic functions not working in Acrobat Pro X...

    Hi,
    I'm finding that basic functions are not working properly. I tried re-launching the application as well to determine if a technical glitch or not.
    Control + Shift + R is not allowing me to rotage a page.
    Control + or - is not letting me zoom in & out, however when I click the big plus or minus icons, it does.
    What's with the loss of short-cut functionality? Please advise, thank you.

    Have you downloaded the user guide PDF to read about what is new or different?
    http://help.adobe.com/en_US/acrobat/pro/using/index.html
    Link to PDF is in the upper right corner

  • Scanning not working with Acrobat Pro X or Photoshop?

    My Epson Perfection V350 scanner is listed as a supported scanner on Apple's site.
    After installing the latest versions of Acrobat Pro X and Photoshop Extended, the scanner is not available to either app. After several useless exchanges with Adobe online support, I called phone support tonight. I was told that neither Acrobat nor Photoshop support scanning in Mountain Lion and I should use Apple's Image Capture. If that is true it should be considered a catastrophe by Apple, Adobe, and Mac users. I tried installing the latest Photoshop TWAIN driver with not luck. I updated to Mountain Lion because scanning wasn't working in Lion. Appalling.
    I have Epson driver 8.0 installed. It is all I can find. If anyone knows of something more recent, or a workaround for this nasty problem, I'm all eyes.
    Acrobat Pro X is 10.1.4 and Photoshop Extended is 13.0.1

    Satchmo wrote:
    Matt, you are right about the Epson Scan Utility. I didn't have it installed. I installed it before you posted, and the scanner appears and works in Acrobat, but Photoshop still can't see it. So, half way there. Thanks. The driver was the same as I had installed.
    Is there any part of your version of Photoshop 64 bit?  The Epson TWAIN driver is only 32 bit, so that may be the difference.  You mentioned in your first post that you installed the latest Photoshop TWAIN driver.  I wonder if that is the problem.  Is there a way you can go back to an earlier version of that part of Photoshop?  I am not familiar with Photoshop.
    If you visit the Drivers and Downloads for the Epson Perfection v350, you find no driver download but this message:
    Description: The latest Mac OS X ICA scanner driver for your Epson product is available only via Apple's Software Update. Here's how to get it:
    Connect the all-in-one or scanner to your Mac and power it on.
    Select the menu, then Software Update.
    Follow the on-screen instructions to install the available updates.
    Note: Software Updates may find multiple updates for your system. You may choose to install all or some of the updates by clicking onShow Details.
    Compatible Systems: Mac OS X (v10.8.x)
    That is a load of hooey: Software Update installs nothing for the scanner. And it doesn't supply the requisite Epson Scan Utility.
    I am well aware of how Epson's pages are laid out.  That is why I gave you the direct download link.  The ICA drivers are for Image Capture.  They do not use the TWAIN technology.  When you are on EPSON's site, you have to override the browser sniffer and say that you are using OS X 10.6.  Then you will see the Epson Scan software.  Much easier just to give you a direct download link from their ftp server.
    And yes, the ICA drivers probably were already installed with Mountain Lion.  I think a universal ICA driver is supplied as part of ML for Canon and EPSON scanners.  You can check by looking in the /Library/Image Capture/Devices folder for the EPSON ICA driver.  You will find the TWAIN driver you just installed at /Library/Image Capture TWAIN Data Sources.

Maybe you are looking for

  • A task containing a single global NRSE ai channel thinks it's differenti​al!

    Help, surely this is a bug (either in my brain or in labVIEW!). I'm running DAQmx on a PCI-6229 m series DAQ device, SHC68-68-EPM cables and the CB-68LPR break out PCBs. I'm measuring ground referenced signal sources of a few volts in amplitude, some

  • Form layout

    what are the components of form layout?

  • Crystal Reports 2008 Setup Has Failed

    Post Author: MWheeler CA Forum: Upgrading and Licensing I get a setup error as soon as I hit "install" on the English upgrade to 2008 on my Windows Xp Sp2 machine.  I am running XI developer edition on this machine.  The Window title for the error me

  • Can't Install Apps Directly To iPod touch

    For some reason my iPod touch can't install apps on its own, I have to go through this big process that involves: 1. Transfering the downloaded app to iTunes on the computer 2. Making all the apps wobble to delete the uninstalled app directly off the

  • Applying patch to embedded OC4J

    Hi, On the 18th of October, Oracle released a patch numbered "5608209" for OC4J. One of the bugs it fixes is "5604102", which renders the WebWork framework almost useless on 10.1.3. Now, my question is, is there an equivalent patch that can be instal