Page change event

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
durban
Posts: 26
Joined: Tue Oct 01 2002
Contact:

Page change event

Post by durban »

How to detect if the user change the Page ?
with mousewheel or scroolbar.

Thanks
Didier
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hello,

The PDF Creator does not have a built in method to retrieve the page that the user scrolled to, however you can use the window's message handler "OnIdle". Each time a user clicks on the scroll bar a windows message is generated. If you trap this message, your application can react to a change in pages in the PDF Creator. When no Windows messages are being processed, this will always indicate the current page on the control.

You can query the control in the "OnIdle" function for the current page.

Thanks
Post Reply