Results 1 to 1 of 1
2002-05-30, 10:00 #1
- Join Date
- Jan 2001
- Thanked 0 Times in 0 Posts
Obtaining control ID from dialog (Word 97 ger / Access 97)
when opening a mailmerge document whose datasource file cannot be found, Word displays a dialog offering two choices. Choosing the second ("Options") another dialog pops up, again offering two choices. The class identifier of both the dialogs (and as it seems of some more) is "bosa_sdm_Microsoft Word 8.0", their heading "Microsoft Word". But although they each contain text and two buttons, I cannot retrieve any hwnd or ctlID for these controls.
As the dialogs appear before the Open- or AutoOpen-events, I want to remote-control them by Sendkeys from an Access application, and in order to make sure it is the right dialog to react on, check the contents of it's textbox. Is Word "hiding" the controls by subclassing? Is there any means to retrieve the dialog's text?