PDA

Click to See Complete Forum and Search --> : Is Enumerating Toolbar buttons possible?


Yury
May 3rd, 2001, 10:31 AM
Hello people.

I am having trouble Enumerating through a Tool bar (MS WORD or Adobe Acrobat etc.). What I am trying to do is to make my App PostMessage(click) to the SAVE/OPEN button on any toolbar. I am beginning to think it’s not possible. I can Enum through Windows, buttons, but not on the buttons on the toolbar. Please help.



Thanks
Yury

Nirces
May 3rd, 2001, 11:51 AM
toolbars in Office products are very different to normal Toolbars, so forget that.

for MS Word, your best capturing the object using:

set oWrd = getobject("word.application")

then you can save using the object model, or anything else


for Actrobat, your best off finding the menu option to do it and use a WM_COMMAND message

Yury
May 3rd, 2001, 01:03 PM
Hey Nirces, thanx for your help.


Here is the situation. I am working on the Application that communicates with an IE embeded Adobe Acrobat Doc file. I want my app to click on that save button on the tool bar, which after brings up SAVE AS dialog box. So that what i wanted to do.

Since the PDF is embeded in to IE all the hotkeys (

Yury
May 3rd, 2001, 01:05 PM
Hey Nirces, thanx for your help.


Here is the situation. I am working on the Application that communicates with an IE embedded Adobe Acrobat Doc file. I want my app to click on that save button on the tool bar, which after brings up SAVE AS dialog box. So that what I wanted to do.

Since the PDF is embedded in to IE all the hotkeys (alt+s) are disabled so I can’t use DDE, so I was thinking using API. I just want to tell the users if it’s possible or not. See what I mean.


Any help would be much appreciated.


Thanx alot
Yury