Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Focus Issues
Message
De
31/07/2009 10:12:31
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Divers
Thread ID:
01415582
Message ID:
01415651
Vues:
61
Thanks Christof, I will give it a try.

>Hi Scott,
>
>> I have form A that contains an ActiveX control (LeadTools v9, old, I know)
>
>You could disable the control in the Deactivate event of form A and activate it in the Activate event:
>
>Declare Long GetParent in Win32API Long
>Declare Long EnableWindow in Win32API Long, Long
>
>* Disable
>EnableWindow( GetParent(oleControl.Hwnd), 0 )
>
>* Enable
>EnableWindow( GetParent(oleControl.Hwnd), 1 )
>
>This could prevent it from responding to OLE drag and drop messages.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform