Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtain an object reference to 3rd party dialog box.
Message
From
27/07/2000 12:54:12
 
 
To
27/07/2000 12:37:54
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00397494
Message ID:
00397702
Views:
13
>This is a good line of thought, I took a quick look at the IE.Application events and couldn't see any applicable, but then I thought that the Save AS would be a seperate application... which leads me back to the question of if its possible to get an object reference to the save as dialog I could probably hook some vfp code into the events of this...
>

I did have another thought - if you know the text for the dialog box's caption, you might try using the Windows FindWindow API call to search for the hWnd of the dialog box, and then directly address the dialog box via it's hWnd using SendMessage() or PostMessage() to send keystrokes to that window - it's less haphazard than trying to find the right window knowing only the IE COM reference.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform