getMouseX and getMouseY
getMouseX and getMouseY
Hi there,
I just downloaded the actually version (22.06.09) and installed it, because I had problems with "Error rendering page" viewing some pdf-Files.
In my program I use the functions called above and with the newest version of the viewer ocx, both values are always "0". Returning to the prev. version, both functions are returning correct values.
Any ideas (Maybe a bug)?
Greetings sacki
I just downloaded the actually version (22.06.09) and installed it, because I had problems with "Error rendering page" viewing some pdf-Files.
In my program I use the functions called above and with the newest version of the viewer ocx, both values are always "0". Returning to the prev. version, both functions are returning correct values.
Any ideas (Maybe a bug)?
Greetings sacki
Re: getMouseX and getMouseY
Hi,
There is no problem.
Check you are calling these methods when the mouse is on top of the displayed image area.
kind regards,
Loïc
There is no problem.
Check you are calling these methods when the mouse is on top of the displayed image area.
kind regards,
Loïc
Re: getMouseX and getMouseY
here is my code:
Private Sub pdfViewer_MouseDownControl(ByVal sender As Object, ByVal e As AxGdViewerPro4.__GdViewer_MouseDownControlEvent) Handles PDFViewer.MouseDownControl
txtFillX.Text = PDFViewer.GetMouseX
txtFillY.Text = PDFViewer.GetMouseY
....
the code works with the old version of the viewer, but not with the current one. Nothing changed, only the viewer OCX in %windir%\system32
Private Sub pdfViewer_MouseDownControl(ByVal sender As Object, ByVal e As AxGdViewerPro4.__GdViewer_MouseDownControlEvent) Handles PDFViewer.MouseDownControl
txtFillX.Text = PDFViewer.GetMouseX
txtFillY.Text = PDFViewer.GetMouseY
....
the code works with the old version of the viewer, but not with the current one. Nothing changed, only the viewer OCX in %windir%\system32
Re: getMouseX and getMouseY
I suppose that the name of the control has been changed and that this event is never raised.
Kind regards,
Loic
Kind regards,
Loic
Re: getMouseX and getMouseY
sorry, but the event fires.
If I place a breakpoint I see that the function is called in both viewer versions, but only the older ocx returns values for getMouseX and -Y the new one allways 0.
If I place a breakpoint I see that the function is called in both viewer versions, but only the older ocx returns values for getMouseX and -Y the new one allways 0.
Re: getMouseX and getMouseY
Hi,
Please reproduce the problem in a tiny application and sent it to esupport (at) gdpicture (dot) com.
With best regards,
Loïc
Please reproduce the problem in a tiny application and sent it to esupport (at) gdpicture (dot) com.
With best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 0 guests