Drag and drop Page Acrobat thumbnails (creating a PDF of hGlobal storage medium)

Hello

I created an external windows on Acrobat who gets gout of the thumbnail of the page from the path of the page.

Looking in the Format with the help of Windows OLE drag and drop, I could see the type of data sent via Acrobat

Am able to get the name of the file of the FileGroupDescriptorW and I think that the actual data must reside in FileContents.

My question is how to create a new PDF of the Filecontent.

Yesterday is part of my code

/**************************************

   * if we have a filename
   * *********************************/
   if(filename != ""){
   //window->simpleMessage("Filename: " + filename);
   // construct a FORMATETC object for Acrobat pages
   fmtetc.cfFormat = RegisterClipboardFormat(CFSTR_FILECONTENTS);
   fmtetc.ptd = NULL;
   fmtetc.dwAspect = DVASPECT_CONTENT;
   fmtetc.lindex = -1;
   fmtetc.tymed = TYMED_HGLOBAL ;
   //get the file content
   if (pDataObject->GetData(&fmtetc, &stgmed)){
   //debug Info
   window->simpleMessage("Filename: " + filename);
   // we asked for the data as a HGLOBAL, so access it appropriately
   PVOID data = GlobalLock(stgmed.hGlobal);
   /***
   * Create new PDF
   ***********************/
   GlobalUnlock(stgmed.hGlobal);
   // release the data using the COM API
   ReleaseStgMedium(&stgmed);
   }

Well studied, but it is an undocumented interface, intended to drag it from Windows Explorer. If you can emulate a Windows Explorer drop target correctly, this can work for you, but Adobe will not help, I'm some [even if I don't speak for them].   I think we can assume that, because Windows is not a processor PDF, Acrobat extract pages and generates a full PDF file when you receive reminders right from Windows Explorer. If it's just file content, maybe its as simple as writing the data to a file.

Please let us know what you like, you're not the first to want to do this, but you may have gotten the furthest!

Tags: Acrobat

Similar Questions

  • Drag and drop Pages

    In Acrobat 9, I might have two PDF files open, then drag and drop pages from one document to the other. I upgraded to XI; How to do drag and drop in its version 9?

    When the documents are not protected even in its version 9.

  • When I drag and drop a file, it creates a shortcut does not copy the file. I want to copy the file instead create shortcut.

    • Drag
    • drop
    • Drag / move
    • copy
    • short cut
    • create

    If you want to make a COPY of the file you drag (leaving the original where it is and make a copy in the place that you drop the file), and then hold down the control (Ctrl) key on your keyboard while you drag and drop, and she must make a copy in the new location.

    Hold down the ALT key should make a link/shortcut to the original.  Now does no key should MOVE the file from the original location to the new location.

  • Creates shortcuts to folders via SHIFT-CTRL/Drag-And-Drop is no longer supported in Windows 7 (64 bit)?

    In Windows Vista, there are two possibilities to create a shortcut to a folder by drag - move different combinations of keys by drag-and - drop:

    'ALT'-key: create a normal shortcut (a double-click on this shortcut navigates to the linked folder)
    "SHIFT-CTRL"-key: creates a shortcut file (junction; "." the folder appears as a subfolder of the folder of its container)

    In Windows 7, it is only possible to create normal shortcuts. 'SHIFT-CTRL' / drag-and-drop doesn't seem to work in Windows 7. Only, it behaves in the same way as 'ALT' / drag-and-drop.

    My observation is correct?
    Is it possible to activate Vista-like behavior in Windows 7 (for example, by editing the registry)?

    A few notes:

    Shortcuts to files that have been created previously with Windows Vista are always managed properly in Windows 7 (i.e., they appear as subfolders).

    The expected behavior of drag-and-drop works correctly when deleting in the folder "...\AppData\Roaming\Microsoft\Windows\Network shortcuts" (However, creating normal shortcuts via "ALT" - key is not possible in the shortcut 'network' - folder).

    Creating a shortcut to folder in "Network shortcut" and then moving in an arbitrary folder shortcut works as expected. Currently, it is the only workaround I know.

    Thank you very much for your answer!
    -Rick-

    Hi Rick,

    Welcome to the Microsoft Answers site!

    Unfortunately this feature is gone in Windows 7. This is the design.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Why can't drag and drop bookmarks?

    When I select the URL in the address bar and try to drag and drop it in a folder in the book mark bar or anywhere else all what happens is a circle with a slash through it. It is impossible to drag and drop a url to create a bookmark.

    I don't see anything in Options to correct this defect.

    Thank you... haven't seen a flag "closed".

    Favicons was one of the first things I uninstalled

    Wilco

  • Drag and Drop VMware Service dashboard

    Hello

    We try to create a VMware dashboard from a service.  We have three VMware data centre and we want to see one of them on a custom drag and drop that will be created from a service dashboard (we have created several of these dashboards for other objects of topology such as SQL Server, Exchange and standard hosts).

    We created the service, but when we try to add DataCentre_1 to it, it does not display the server in the data center.  We added service-specific components, selecting a search for 'All models', enlargement VMware model. virtualCenters.  None of the items selected under which show the VM customers.  We tried VMWVirtualCenter, VMWDatacenterCollection and VMWDatacenter.

    No matter which one is selected, when we try to create a table in the dashboard by dragging Services | All Services | | Guests in all, we still have a message "No data to display" in the preview window.

    Can someone please tell us where get you the guest list for the VMware data centre?

    Thank you

    Brian

    Hi Brian,.

    I think that the best way to do this is to define a Service that contains all ESX hosts in the target datacenter.

    You can do this by defining a Service then fill that Service with 'a rule to include a group of components', also known as a FSMDynamicManagedComponent. The definition of this rule begins with the root query "ESX hosts", to which we add a rule as a condition:

    virtualCenter.name like '% alvvmml01 '.

    Your Service will then contain all of the corresponding ESX hosts and you can then drag and drop the ESX host since the set service in your dashboard or report.

    Your first attempt did not work because the addition of things like VMWVirtualCenter, VMWDatacenterCollection or VMWDatacenter in the Service adds these items for the Service, but not the ESX hosts contained in these articles. /Hosts is also the list of physical or virtual host objects, not the ESX host objects you are looking for.

    Kind regards

    Brian Wheeldon

  • Drag and drop the thumbnails on the desktop (Acrobat XI Mac)

    Acrobat 9 Pro, I'm able to drag one or a group of thumbnails on the desktop, where it would create a pdf file "Untitled extract Pages.pdf" with these pages to the desired location. I could then easily rename the newly created document as I wanted. It's a one-step drag-and-drop.

    Step 1: Drag the pages to the desired location

    Step 2: Rename the resulting file.

    But in Acrobat Pro XI, when I try to drag the photos on the desk, I see the folder in that I want the file to go is highlighted by the drag icon, but nothing fell. Instead I have to:

    Step 1: extract the pages you want

    Step 2: click OK in the extract dialog box

    Step 3: Command-Shift-S to save the file under...

    Step 4: Find the folder which I want to save the file

    Step 5: File name

    Step 6: Click on save

    Is it possible to get the procedure more simple that worked so well in Acrobat 9?

    I am on OS 10.11.6

    Hello

    I want to mention that in Acrobat XI, there was a problem with the feature you mentioned (on Mac) and has been corrected in Acrobat DC.

  • Cannot drag and drop into the bar of pages in Acrobat Pro XI for Mac?

    MAC OSX 10.7.5

    Acrobat Pro XI

    In adobe Acrobat XI for Mac, how do I drag the pages of thumbnails of Pages box in the finder and make a new PDF?

    In windows I can simply select the pages, drag and drop them in Solution Explorer and creates a new PDF pages that I dragged.  I've tried everything on my Mac and I can't extract this way.

    It is extremely slow and frustrating to have to manually right click Extract, select pages, open in a new window from adobe, and then save the file in the menu.

    On windows, I just select the page, drag to the folder and click Rename.

    The same question and found the solution, the wire https://forums.adobe.com/thread/1348512 try67in response

    To zoom back, so that the entire page is visible, then drag & drop works fine, well, at least, it worked fine with me.

    I admit, it is odd though.

    =

  • Cannot replace Pages (by drag and drop in the Pages panel) in Acrobat 9 Pro

    I'm running OS X 10.5.8, Acrobat Pro 9.1.3, PowerMac G5 PPC.

    I'll have two PDF files to open and I want to replace A document pages by some pages of document B.  Rather than use the command replace Pages from the Document menu, I prefer to see visually what I'm changing.  For this reason, I have always preferred the drag and drop method, where one selects a thumbnail of page of a document and it falls on a thumbnail of the page into another document. Only, it seems to be a problem in Acrobat 9.  It works fine in Acrobat 7.1.1 and 8.1.6.  Drag-and - d├⌐poser will insert pages, but the replacement of pages does not work.  As described in the Acrobat help, under 'Pages to replace using a page thumbnail,' I try to drop the thumbnail of the page on the page number as prescribed but the page should be replaced never points out as it should.  It will only give the insertion culminating between each page, indicating that it is about to insert a page.

    Other Mac exhibit the same behavior - it always works in Acrobat 7 and 8, but not 9.

    Thank you for your help.

      Press the command and option keys while dragging in the Acro9.

    1. Cannot resize firefox so I can drag and drop to create a shortcut

      I can't make my Firefox page smaller so I can drag and drop a web site to create a shortcut. I use windows 7. I have no flu when I point at the bottom right. When I use zoom the page itself re sizes but not the window. I just need to see a bit of my office, so I can create a shortcut.

      Hi limomitch, Firefox will remember the last 'normal' window size by saving in this file you deleted (which Firefox creates new). To switch between the normal and maximized window styles, you usually just double-click the title bar of the window, or you can use the middle (the one between minimize and close) button in the upper right corner.

      If you find that the 'normal' window size has increased too, and if the lower right corner is not visible, you can try Alt + SPACEBAR. It is a convention of Windows on the scale to display the window control menu. If the size is not gray, press arrow down once, then the up arrow key repeatedly until the lower edge of the window is in view. Repeat with the left if necessary and right keys. (If the size is dimmed, choose restore and that might be all you need).

    2. How can I move files in Adobe Acrobat format files? Cannot drag-and - drop

      How can I move files in Adobe Acrobat format files? Cannot drag-and - drop

      How to move your files to a folder at Acrobat.com:

      1. log in to https://files.acrobat.com with your Adobe ID and password

      2. create a new folder using "New folder" icon at the top right

      3. Select the files to move

      4. click on "Move files" icon in the menu bar above

      5. Select the folder created above #2

      6. click on the button "move".

      HIsami

    3. Drag and drop a workflow bounded in a jspx page

      Hello!!

      I use jdeveloper 11.1.2.1 I had created a bounded workflow that contains a jsff
      page. While I am trying to drag and drop this workflow bounded like a region jspx page
      get the error message like
      Cannot create a region from a taskflow containing facelets fragements in a 
      jspx page.

      Facelets and JSP are two different display technologies in JDeveloper. When you create a new page or a page fragment, he has a choice in this dialog box to create the page/fragment using Facelets or JSP/JSPX. You try to mix-and-match JSP and Facelets.

    4. I downloaded El Capitan and can't drag and drop Photos for pictures of Mac to my documents Pages.  Is there a solution?

      I downloaded El Capitan and can't drag and drop Photos for pictures of Mac to my ' 09 Pages documents as I did before with iPhoto.  Is there a solution?

      Hi gr.

      Drag / drop photos to Pages ' 09 seems to be broken. Copy-paste works.

      Select the photo in the Photos. Edition > copy

      Click in the page document. Edition > paste

      Faster:

      Click on the photo

      Command + C

      Click on the pages

      Command + V

      Kind regards

      Barry

      PS: The time to update your profile information.

      El Cap is running on the iBook G4? Problems outside of it?

    5. Why can I I is no longer drag and drop photos directly from photos of apple in the Pages?

      Until very recently, you can take a photo from iphoto/photos and then quickly drag and drop directly into the Pages. Now, I have to drag and drop the photo on the desktop, then drag and drop again from office to the Pages. Is this just a way more Apple is dumbing things down and make things slower for those who already know how to use their software or some setting I'm not aware of?

      In the Pages v5.6.2, you can click, drag and drop an image from the Photos app in the page document related, just as you can from the media tool in the toolbar of the Pages v5.6.2.

      To get an image from Photos in a Pages ' 09 v4.3 document, you must click on the image you want in Photos and menu editing: copy, right click in the document to Pages ' 09 followed to select Paste from the context menu. There is no drag and drop Photos in Pages ' 09 v4.3. There is no access to the photo library within the Pages ' 09 v4.3 support tool.

      Tested: OS X 10.11.5.

    6. Drag-and - drop photos in Pages

      How you drag and drop the photos to PHOTO pages.  Before El Capitan iPHOTO and PAGES worked well.

      Well now that you have "improved," you let Apple show you how you never really want to do something useful.

      Peter

    Maybe you are looking for

    • stream HP 13: free space on disk c has lost

      I just updated my computer disk SSD and lost 7 GB of free space from drive C?& nbsp;The installed updates are listed as optional.& nbsp;Update for windows 8.1 (KB3035583) 492KBUpdate for windows 8.1 (KB3048778) 928KB& nbsp;I also tried to install Rea

    • Mode admin restricted in Windows Server 2008 R2

      In my organization, restricted admin mode has been applied in all desktop computers. So when I remote desktop to servers using MSTSC, a message on the remote computer is not in admin limited mode will pop up. I activated the admin mode restricts in t

    • Details: This operation returned because the timeout period expired. (HRESULT: 0X800705B4) (0x800705b4)

      The windows event log shows this error.  Every two days that my Windows Search has been devoted to disable mode, abandoned Auto sort. Help... I appear to be indexing all the time. DC

    • Transfer Z10 Bluetooth blackBerry Contacts

      Hello friends, I recently bought the Z10, having been a loyal user of BB for many years - I enjoy the experience! With my previous BB Torch 9800, I had no problem with the transfer of my phone contacts on my vehicle with Bluetooth (there was a guest

    • Screen frozen blackBerry Smartphones

      Have had my PRIV for a day.  Download an attachment (or at least I thought I was downloading an attachment) when the screen is frozen.  Cannot switch the handset off to restart.  Any ideas?  I can't believe XXX hours for the battery to discharge of w