Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blinking Taskbar.
Message
From
01/02/1999 11:44:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00182485
Message ID:
00182516
Views:
13
>>
>>Add timer with following code in timer event:
>>_screen.windowstate=1
>>_screen.visible=!_screen.visible
>>and start this timer from some place of your application
>
>
>Thanks Ed,
>
>That's close, but not quite. That causes the application to dissappear/reappear in the taskbar. I'm quite sure that won't do.
>
>Microsoft cause the "background" of the task bar "button" to change colors. We are trying to get our application "Designed for Windows" compliant, otherwise I wouldn't even sweat this.
>
>M.
Just tried this one :
_screen.windowstate = 1
set library to home()+"foxtools.fll" additive
FoxWnd = MainHwnd()
declare FlashWindow in Win32API integer hWnd,	integer bInvert
test = seconds()
start = seconds()
do while seconds() - test < 10
 if _screen.windowstate = 1 and seconds() - start > 1
 	=FlashWindow(FoxWnd,1)
 	start = seconds()
 endif	
enddo
_screen.windowstate = 2
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform