05-19-2006, 11:20 AM
Gintaras Wrote:I have only Adobe Reader 6. Ctrl/Shift/Alt+wheel also does not work. The zoom field also has 0 id. But it is the only control with RichEdit20A class.
int hwnd=child("" "RichEdit20A" "Adobe Reader -" 0x5)
Also, I can use menu View -> Zoom To (Ctrl+M).
Thanks.
In Acrobat, the class, as you call it, is "Edit".
Good point about the View->Zoom <embarrassed chuckle>.
I am concerned about the time taken to display menu+dialog box each time I roll the wheel to do a smotth scroll.
My Ctrl+M has ben taken over by an add-in. I will have to find if/how I can restore it.
Question: How do I get the name of the application that currently has the focus? (Obviously I will need this info to properly control the zooming for each app.)
Thanks,
Avraham
