Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flashing minimized title bar
Message
De
15/01/2007 12:50:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Flashing minimized title bar
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01185656
Message ID:
01185656
Vues:
88
This procedure is supposed to flash the minimised title bar. at least that is my intention. I have it in the timer event.

firstly i dont know if this is the ideal approach,
secondly the line _screen.icon=.... just makes my computer slow down to such an extent that i cannot even stop the process from the taskbar.

what am i doing wrong, what is a better approach?

Lcnts=.t.

do whil Lcnts

Ltm=right(time(),2)
Ltmv=val(Ltm)
if int(Ltmv/2)=(Ltmv/2)
_screen.caption=''
_screen.icon='\picture\disk06.ico'
else
_screen.caption='Something Else Here'
_screen.icon=''
endif

Lws=_screen.windowstate

if Lws=2
Lcnts=.f.
endif

enddo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform