Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LockScreen and ActiveX Controls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00451758
Message ID:
00451780
Vues:
23
Hi George:

So what I'm doing wrong with LockWindowUpdate() is locking the VFP form where I should be locking the activeX object on the form. Yes??

The ActiveX is TrueDBGrid60 from Apex, and it has a function to return its hWnd, which is very handy. Also, this is a very flexible and robust replacement for the native VFP grid, if you have not looked at it. Version 7.0, just out, is supposed to be even faster in VFP.

I would like to read your VFUG article. How do I get to it?

Regards, and many thanks for the prompt reply. If you ever go on vacation, I'm dead.

JME
>
>It's true that LockScreen has no effect on ActiveX controls. This is because they're separate windows and Windows can only lock screen updates on one window at a time. Some ActiveX controls, such as the Treeview, have an hWnd property that can be used with LockWindowUpdate. With others, you have to use FindWindowEx() to locate the proper window handle. FWIW, I wrote an article in the VFUG newsletter (this past June I think) on doing refreshes with the TreeView control. You might want to take a look at that.
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform