Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updated ctl32_statusbar class in Downloads
Message
De
27/04/2006 16:37:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01116978
Message ID:
01117299
Vues:
13
>
>Would this work if I use LockWindowsUpdate function? I have a form that takes some time to load and all my attempts to speed it up so far were not 100% sucessful. So, I'm thinking, it would be cool to put progress bar in the status bar rather than currently displayed wait window...
>

If you do a LockWindowUpdate(_vfp.Hwnd) it will freeze the progressbar if the statusbar is on the main VFP screen, of course. Which window are you going to do LockWindowUpdate to? If you do it to the slow loading Form, no problem.

>
>I just copied both class libraries into our libs directory. Also do I understand correctly that status bar removes itself when my application is closed if I'm working in debug mode (e.g. doing do main from command window)?

In your program exit routine, you should have a line to release the statusbar:
_Screen.RemoveObject("myStatusBarName")
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform