Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11520

Animation windows

From "Paul D B" <pdb@NOMORESPAMhnt.be>
Newsgroups comp.lang.clipper.visual-objects
Subject Animation windows
Date 2018-03-29 16:02 +0200
Organization A noiseless patient Spider
Message-ID <p9irle$79j$1@dont-email.me> (permalink)

Show all headers | View raw


Hi all,

I'm using some "animation window" (inherets from DialogWindow) that shows an 
hourglass and some "Please be patient" stuff. Used it for 15 years!
However in recent Windows versions (8.1 and 10) the hourglass does not 
tumble anymore, it is static. And worse: when it is a long lasting or 
CPU-intensif operation, Windows changes the caption of the dialog in "Not 
responding" which makes some users panic and try to cance it (while they 
just have to wait untill the operation finishes).
Anyone has some better animation window, or a suggestion on how to avoid the 
apparent freezing?

some code
METHOD PostInit(oParent,uExtra) CLASS AnimateWin

// uExtra is the desired animation

LOCAL cAnimationName AS STRING

cAnimationName := AllTrim(uExtra)

SELF:Melding := " "

// open en speel de animatie

DO CASE

CASE cAnimationName =="HOURGLASS"

SELF:oDCAnimation1:OpenResource(110)

CASE cAnimationName =="SEARCH"

SELF:oDCAnimation1:OpenResource(111)

OTHERWISE

SELF:oDCAnimation1:OpenResource(110) // hourglass

ENDCASE

ApplicationExec(EXECWHILEEVENT)

SELF:oDCAnimation1:Play()

ApplicationExec(EXECWHILEEVENT)

RETURN NIL


thanks

Paul 

Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-03-29 16:02 +0200
  Re: Animation windows D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2018-03-30 21:00 +0200
    Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-03 14:43 +0200
  Re: Animation windows Sherlock <sherlock@sherlock.com.au> - 2018-03-31 01:43 -0700
    Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-03 14:40 +0200
      Re: Animation windows "Karl-Heinz" <invalid@invalid.invalid> - 2018-04-04 17:50 +0200
        Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-10 11:37 +0200
  Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-03 15:11 +0200
  Re: Animation windows "Jamal" <nospam@example.com> - 2018-04-09 10:34 -0400
    Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-10 11:35 +0200

csiph-web