J
Juergen Grieb
Hi,
my app starts an instance of Word in an Acc97 form. So far I have
complete control over Word, except in the circumstance that Word has
other "windows" (including dialogs like the printing dialog) open.
Searching the web I found no reliable way to get Word's status in case
another Word window is open. So I thought, that finding out if Word
has other windows open would be enough. Since I cannot get that
information from Word (it doesn't respond if a dialog is open) I
thought that API would do the trick.
Unfortunatly, I have no experience at all with API. FindWindowEx and
EnumChildWindows seems like what I need, but I wasn't able to figure
out how to use them to get the wanted information.
Can anybody please tell me how to get all open "windows" of an
existing Word instance?
Thanks a lot!
Juergen
my app starts an instance of Word in an Acc97 form. So far I have
complete control over Word, except in the circumstance that Word has
other "windows" (including dialogs like the printing dialog) open.
Searching the web I found no reliable way to get Word's status in case
another Word window is open. So I thought, that finding out if Word
has other windows open would be enough. Since I cannot get that
information from Word (it doesn't respond if a dialog is open) I
thought that API would do the trick.
Unfortunatly, I have no experience at all with API. FindWindowEx and
EnumChildWindows seems like what I need, but I wasn't able to figure
out how to use them to get the wanted information.
Can anybody please tell me how to get all open "windows" of an
existing Word instance?
Thanks a lot!
Juergen