Hi,
I would like to create a mouse-drag document pan facility into my application. However the ActiveX viewer does not seem to have any MouseDown type events. Anyone know of a way of getting hold of the mouse events occuring inside the activeX viewer control?
Regards,
ChrisM
PDF Creator ActiveX
Hello,
We are going to be releasing a minor update to the PDF Creator (version 1.50a) that will include support for the right-button mouse click. This update will be available in the next couple of weeks.
The Control will display the editable properties of an object when the ContextSensitiveMenu event is fired.
Private Sub PDF1_ContextSensitiveMenu(Continue As Long)
Continue = 1
End Sub
Hope this helps.
We are going to be releasing a minor update to the PDF Creator (version 1.50a) that will include support for the right-button mouse click. This update will be available in the next couple of weeks.
The Control will display the editable properties of an object when the ContextSensitiveMenu event is fired.
Private Sub PDF1_ContextSensitiveMenu(Continue As Long)
Continue = 1
End Sub
Hope this helps.
This might help, I'll have to wait and give it a go when you release it. However, what I'm really looking for is the ability to pick up right and left mouse clicks and ideally mouse drags on the document view. The following events would make my life complete...(sad huh?) 
PDF_MouseDown(MouseButton as Integer, Shift as integer, XPos as long, YPos as long)
PDF_MouseUp(MouseButton as Integer, Shift as integer, XPos as long, YPos as long)
PDF_Click()
PDF_MouseMove(MouseButton as integer, Shift as integer, XPos as long, YPos as long)
In fact just the last one would let me to do everything I need.
Have you got any plans to add this sort of functionality to the control as they would enable developers to add some really nice mouse-based zoom and pan features to the control...
Regards,
ChrisM

PDF_MouseDown(MouseButton as Integer, Shift as integer, XPos as long, YPos as long)
PDF_MouseUp(MouseButton as Integer, Shift as integer, XPos as long, YPos as long)
PDF_Click()
PDF_MouseMove(MouseButton as integer, Shift as integer, XPos as long, YPos as long)
In fact just the last one would let me to do everything I need.
Have you got any plans to add this sort of functionality to the control as they would enable developers to add some really nice mouse-based zoom and pan features to the control...
Regards,
ChrisM

Mouse Down and New Object Creating events
Hello all,
In addition to mouse down's events it would be good if we had an event for when a new object is created OnNewObject(LPCSTR AObject, OleEnum ObjectType). This way when we can respond and set properties on this new object such as a default width and height to the object, colors and etc. This way users can add a new object of a specific height without having to know that they have to drag a box. Our users of our product will end up having lots of objects that are 1 width by 1 height before they realize they have to click and drag a box. Not all users are as savy as programmers
Thanks,
Kenneth Lewis
Intuit, Inc.
In addition to mouse down's events it would be good if we had an event for when a new object is created OnNewObject(LPCSTR AObject, OleEnum ObjectType). This way when we can respond and set properties on this new object such as a default width and height to the object, colors and etc. This way users can add a new object of a specific height without having to know that they have to drag a box. Our users of our product will end up having lots of objects that are 1 width by 1 height before they realize they have to click and drag a box. Not all users are as savy as programmers

Thanks,
Kenneth Lewis
Intuit, Inc.
New Events and Methods
Hello again,
I notice there doesn't seem to be a ObjectCount property to determine how many objects are in the pdf. You have to use ObjectAttributes to get the object count per page using ObjectAttributes("page[1]", "Objects"). It would be good if we had a property called ObjectCount for the whole pdf file and int PageObjectCount(int APage) for a page.
Also, it would be nice if we could have a DeleteAllObjects (annotations) method to delete all annotation objects in a pdf. From what I have seen it looks like I will have to use the ObjectAttributes for each page to determine the total objects, then get the names for each of the object in order to delete all objects. Also a DeletePageObjects(int APage) would be nice also
Also, it would be nice if we had a ShowObjects (annotations) and HideObjects so that we can print with or without annotations. Save with or without annotations, email with or without annotations, fax with or without annotations. I probably have to loop thru all the objects and set the visible attribute in order to make it invisible but it would probably be better if y'all posted a message and your objects responded accordingly without having to loop thru setting the property and it be slower
If I am missing something or it is in there some how please let me know.
Thanks,
Kenneth Lewis
Intuit, Inc.
I notice there doesn't seem to be a ObjectCount property to determine how many objects are in the pdf. You have to use ObjectAttributes to get the object count per page using ObjectAttributes("page[1]", "Objects"). It would be good if we had a property called ObjectCount for the whole pdf file and int PageObjectCount(int APage) for a page.
Also, it would be nice if we could have a DeleteAllObjects (annotations) method to delete all annotation objects in a pdf. From what I have seen it looks like I will have to use the ObjectAttributes for each page to determine the total objects, then get the names for each of the object in order to delete all objects. Also a DeletePageObjects(int APage) would be nice also

Also, it would be nice if we had a ShowObjects (annotations) and HideObjects so that we can print with or without annotations. Save with or without annotations, email with or without annotations, fax with or without annotations. I probably have to loop thru all the objects and set the visible attribute in order to make it invisible but it would probably be better if y'all posted a message and your objects responded accordingly without having to loop thru setting the property and it be slower

If I am missing something or it is in there some how please let me know.
Thanks,
Kenneth Lewis
Intuit, Inc.
Hello,
Please add the suggestions to the "Wish List" forum. And you can send suggestions to support@amyuni.com
Concerning the vertical scroll bar, The PDF Creator does not have a built in method to retrieve the page that the user scrolled to but you can use the windows message handler "OnIdle". Each time a user clicks on the scroll bar a windows message is generated, however 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.
Please add the suggestions to the "Wish List" forum. And you can send suggestions to support@amyuni.com
Concerning the vertical scroll bar, The PDF Creator does not have a built in method to retrieve the page that the user scrolled to but you can use the windows message handler "OnIdle". Each time a user clicks on the scroll bar a windows message is generated, however 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.