Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking an ActiveX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00474927
Message ID:
00474964
Vues:
19
>>How can I perform a LockScreen over a Treeview control when i populate the nodes? If I use LockScreen in the parent form it does do nothing.
>>
>>Thanks in advance
>>Héctor L.
>
>Hi Hector,
>
>You cannot use LockScreen on ActiveX as it has it's own window. You should try LockWindowUpdate API function, see
>http://www.levelextreme.com/wconnect/wc.dll?UniversalThread~?2,31,3,88

Both the Treeview and the Listview have an undocumented property (hwnd) that represents the control's window handle. This can be used in conjunction with the LockWindowUpdate() call. I had this tip publish in a VFUG newsletter a few months ago. It's available on-line at www.vfug.org.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform