Hi all,
I am trying to automate the thesaurus functionality in Microsoft Word
without having user input. Basically I am trying to get a list of
synonyms
from Word for any given word.
I am using C# and a reference to Word 2000 (MSWORD9.OLB)
I used Spy++ to get to the class name of the thesaurus dialog box, and
I can
get a valid handle to the thesarus dialog box. Now I need to get
access to
the Synonyms list box on the dialog box.
In Spy++, the thesaurus dialog box has only three 'children' --
ScrollBar x 2 and a RichEdit20W control. It can grab the handle for
it, but there are no obvious signs that this is the synonyms listbox.
Can anyone help me figure out how to use SendMessage or any other API
that I
can use to access the list box on the thesaurus dialog box?
--Phil