Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > SDK ( DLL or ActiveX)

SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 31st, 2007, 05:23 AM
guitz guitz is offline
Junior Member
 
Join Date: May 2007
Posts: 1
guitz is an unknown quantity at this point
Default Cancel the find operation.


Hi all!

Using the Foxit application, if the user wants to find a text in a very large PDF (thousands of pages) will get a progress dialog like in attachment, where he is informed about the current searched page (“Searching X of TOTAL_NR”). The user can also cancel the operation.
Knows somebody how can I implement this with the SDK (DLL)? The method “FPDFSCH_FindNext” returns only if the last page was also searched, so the user must wait until the search operation ends. I thought about to put this in a thread (I’m not so happy about this) and terminate if the user cancels the operation. But how can I get the current searched page like the Foxit app does?

For any idea thanks in advance.

Best regards,
Emil
Attached Images
File Type: jpg progress_dlg.JPG (8.4 KB, 2 views)
Reply With Quote
  #2  
Old May 31st, 2007, 08:06 PM
william's Avatar
william william is offline
Foxit Developer
 
Join Date: Dec 2005
Posts: 192
william is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of light
Default

Hi Guitz,

We are developing a new version of SDK which has already considered the cancel function.
Please wait with patience for the availablity of the new version.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.