Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Marquee progress Bar that don't work correctly!
Message
 
 
À
18/03/2010 05:16:30
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Application:
Desktop
Divers
Thread ID:
01455304
Message ID:
01455495
Vues:
58
You can try ctl32_progressbar - a Progress Bar class instead.

>
>I've develop a DLL with somu utility functions to use with my VFP programs.
>The last one is a function that, in my hope, show an indipendent window with a Fake-ProgressBar MARQUEE typed.
>
>My operations in the DLL are:
>1) I register (function RegisterClassMarquee) a window class named "SIMPLEBAR" that use a WindowProcedure ("MarqueeWndProc")
>2) In the WM_CREATE message i create a Progress Bar With MARQUEE Style
>
>from VFP:
>1) I declare the dll function StartMarquee(HWND nHwnd) and i call It
>2) the window appear ... without progress bar ... but if i move the windiow progress bar appear ... freezed ... the squares in the control don't moves ... but if i move the window putting the progress bar poutside the screen and returning it in the screen i see that progress bar has progressed 8))) ...
>
>The question is: Why my progress bar don't move normally, without forcing the rwfresh of the window ? If I create the progress Bar directly in a VFP window the progress bar do it's work.
>
>Can Anyone help me ?
>
< snip >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform