Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating 'Open With' dialog after it's been launched
Message
 
À
27/04/2005 23:05:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01008829
Message ID:
01009223
Vues:
27
This message has been marked as a message which has helped to the initial question of the thread.
Malcolm,

I do not know how it would behave in other locales. You may try the following:

1. For the first WEb/List dialog
- instead of key combination "S~" try {DOWN}{ENTER} or
- follow http://weblogs.asp.net/kdente/archive/2004/07/13/181912.aspx to edit the registry and get rid of the dialog completely.

2. For the "Open With" window. You may try to find the actual Window Title for the class "#32770" or just window handle for this class with, say, FindWindow and GetWindowText WinApi_s.

But, again, I do not know details, so the class name may differ depending on the locale.



>Yuri,
>
>Awesome! That did the trick. But it seems specific to US English with the S~ and AppActivate "Open With". I assume both the ~S and "Open With" strings would probably be different for other locales?
>
>I'm going to use your solution, but I'm still looking for a generic solution that doesn't assume English as the user's locale. Perhaps there's some way to find the window handle associated with a specific invokation of rundll32.exe?
>
>Thanks again for your help!
>
>Malcolm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform