Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flashing minimized title bar
Message
From
15/01/2007 12:50:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Flashing minimized title bar
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01185656
Message ID:
01185656
Views:
87
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
Next
Reply
Map
View

Click here to load this message in the networking platform