Problem: Word 2007 Horizontal Scroll Programming

E

Eliot Chang

Hi,

How to prgram the horizontal scroll in MS-Word 2007?
I try to use SendMessage(WM_HSCROLL,...) to MS-Word 2003, it
work fine.
but this program in the Word 2007, it doesn't work.
I can't get the horizontal scroll bar window handle from WORD
2007.
To use Spy++, I only can get the Scroll bar Windows class is
"NetUIHWND".
Any sugguestions?
 
K

Klaus Linke

Eliot Chang said:
How to prgram the horizontal scroll in MS-Word 2007?
I try to use SendMessage(WM_HSCROLL,...) to MS-Word 2003, it
work fine.
but this program in the Word 2007, it doesn't work.
I can't get the horizontal scroll bar window handle from WORD
2007.
To use Spy++, I only can get the Scroll bar Windows class is
"NetUIHWND".
Any sugguestions?


Hi Eliot,

Could you use Word's own method for getting/setting that?
? ActiveDocument.ActiveWindow.HorizontalPercentScrolled

Regards,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top