Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.mixmin.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Blinking Icon Date: Tue, 8 Nov 2011 01:44:20 +0100 Lines: 65 Message-ID: <9hrcbeFvnbU1@mid.individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 8bit X-Trace: individual.net 0b/29uVX3VtpTmObMf7MXg00bVnVjB2cEbPt8e265JgIoRR14s Cancel-Lock: sha1:iNxNhyb3cxCyiyrASlrdJJmqx/g= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-EsetId: 35EFE320EBB6393065AFBF X-EsetScannerBuild: 10255 Xref: x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2383 Hi Jozo, Sorry, I didn't read cared´fully. I'm working on a better sample. Give me some hours... Urs "Jozo" schrieb im Newsbeitrag news:j98v3v$h6n$1@ss408.t-com.hr... > Although "AutoRefresh" is very useful that's not what I wanted. > > I wish that my icon (in cell of bBrowser) is flashing (for example > pulsing, > something like an animation). > I have for example the window where I use a timer with two icons, one > small > and one large. When they are alternately displayed, it looks as the icon > is > pulsing. > Here is the code: > > CLASS MyWindow INHERIT DataWindow > ... > PROTECT oIcoSmall AS Icon > PROTECT oIcoBig AS Icon > > METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS MyWindow > oIcoSmall := IcoSmall{} > oIcoBig := IcoBig{} > SELF:IconSm:= oIcoSmall > SetTimer(SELF:Handle(), IDT_ICONCHANGE, 1000, NULL_PTR) > RETURN NIL > > METHOD Dispatch(oEvent) CLASS MyWindow > IF (oEvent:uMsg == WM_TIMER) .and. (oEvent:wParam == IDT_ICONCHANGE) > IF (SELF:IconSm == oIcoBig) > SELF:IconSm := oIcoSmall > ELSE > SELF:IconSm := oIcoBig > ENDIF > ENDIF > RETURN SUPER:Dispatch(oEvent) > > So, this example is only for window where I just wanted to explain what I > want. > > Jozo > > ----- Original Message ----- > From: "Stephen Quinn" > Newsgroups: comp.lang.clipper.visual-objects > Sent: Monday, November 07, 2011 2:45 PM > Subject: Re: Blinking Icon > > >> Jozo >> >> Look up AutoRefresh() into bBrowser help >> May suit may not >> >> CYA >> Steve >> >> >