Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Focus Issues
Message
 
À
30/07/2009 18:56:48
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:
01415602
Vues:
70
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.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform