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


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

Re: Animation windows

From "Paul D B" <pdb@NOMORESPAMhnt.be>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Animation windows
Date 2018-04-10 11:35 +0200
Organization A noiseless patient Spider
Message-ID <pai0gm$qfj$1@dont-email.me> (permalink)
References <p9irle$79j$1@dont-email.me> <paftlk$blq$1@gioia.aioe.org>

Show all headers | View raw


Hi Jamal,

does not make any difference for the animation  not playing, but it should 
avoid the "not responding" problem.

"DisableProcessWindowsGhosting function
Disables the window ghosting feature for the calling GUI process. Window 
ghosting is a Windows Manager feature that lets the user minimize, move, or 
close the main window of an application that is not responding."

Thanks for the suggestion


Paul
"Jamal"  schreef in bericht news:paftlk$blq$1@gioia.aioe.org...

Hi Paul,

Regarding the issue of "Not Responding", try the following:

_DLL FUNCTION DisableProcessWindowsGhosting() as void
PASCAL:USER32.DisableProcessWindowsGhosting

Just call DisableProcessWindowsGhosting() one time in the Start() method of
your app.

Let me know how it goes.

Jamal


"Paul D B"  wrote in message news:p9irle$79j$1@dont-email.me...

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 — Previous 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