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 13:06:14
 
 
À
27/07/2000 12:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00397494
Message ID:
00397709
Vues:
9
>
>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.

I wasn't aware that you could send keystrokes with sendmesage and postmessage. I'll take a look at that. Do you think this will be less temperamental than my current solution of using the WSH to pass keystrokes?

I've spoken to my client... I'm afraid we won't be sending the bag of USD to your backdoor just yet. Between you and me I have found that there is a team here who downloads these files to a shared drive everyday anyway, so I could use these, but I thought this is a good opportunity to play around with IE for a while.

Laters

Mace
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform