05-19-2006, 06:26 AM
Hi,
Resuming this thread, if I may:
Now that we have succedded in providing mouse wheel zoom for FreeHand (a fantastic achivement that should interest all PC FreeHand users) I remembered that Adobe Acrobat 5, this being the version of Acrobat that I have, also does not have built-in wheel zoom. So I ran QM and moved the mouse pointer over Acrobat's zoom field to find out what its Id number is and I see that the QM status display (at the bottom) shows that Id=0, along with the rest of the controls on the toolbar. (A discovery that is itself worthy of some comment?)
Well, just to see what happens, I tried on Acrobat the same code we wrote for the FreeHand, but instead of:
int handle = id(432, "FreeHand 9")
I write:
int handle = id(0, "Adobe Acrobat")
And no surprises here in that the idea does NOT work. So any solutions for Acrobat 5? Or will I have to write our Wheel Zoom to handle two modes: a 'clever' mode and a 'teach QM' mode where at each run of Acrobat (and also each time you resize Acrobat's app window) you have to tell Wheel Zoom the X-Y coords of the Zoom edit field?
So if you ever come to Israel, look me up and I will buy the coffees (or maybe add a checkbox in the QM purchase area for buying coffee for Gintaras...)
tia
avraham
Resuming this thread, if I may:
Now that we have succedded in providing mouse wheel zoom for FreeHand (a fantastic achivement that should interest all PC FreeHand users) I remembered that Adobe Acrobat 5, this being the version of Acrobat that I have, also does not have built-in wheel zoom. So I ran QM and moved the mouse pointer over Acrobat's zoom field to find out what its Id number is and I see that the QM status display (at the bottom) shows that Id=0, along with the rest of the controls on the toolbar. (A discovery that is itself worthy of some comment?)
Well, just to see what happens, I tried on Acrobat the same code we wrote for the FreeHand, but instead of:
int handle = id(432, "FreeHand 9")
I write:
int handle = id(0, "Adobe Acrobat")
And no surprises here in that the idea does NOT work. So any solutions for Acrobat 5? Or will I have to write our Wheel Zoom to handle two modes: a 'clever' mode and a 'teach QM' mode where at each run of Acrobat (and also each time you resize Acrobat's app window) you have to tell Wheel Zoom the X-Y coords of the Zoom edit field?
ken gray Wrote:Quote:I don't know whether to kiss you or to strangle you
how 'bout just buy him a coffee :lol:
So if you ever come to Israel, look me up and I will buy the coffees (or maybe add a checkbox in the QM purchase area for buying coffee for Gintaras...)
tia
avraham
