Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtain an object reference to 3rd party dialog box.
Message
De
27/07/2000 12:54:12
 
 
À
27/07/2000 12:37:54
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00397494
Message ID:
00397702
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform