guitz
May 31st, 2007, 05:23 AM
:1_31:
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
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