English
Forum

Animationsgeschwindigkeit

 

Georg
Hovenbitzer
Hello together,

I have there one Geschwindigkeitsproblem
with the code let I a Animation in the Status Bar Show, only The runs not straight quick ex.
Looks one the ANI directly on, is tappt im dunkeln super quick.
in the Program with the I The ANI prepares have, have I The speed already integrally high turned.

Perhaps can of/ one of you me help.
CompileMarkSeparation
Def Getsyscolor(1) !USER32,GetSysColor
Def Loadimage(6) !USER32,LoadImageA
Declare Ani$,Ani&,AniControl&,Status&,Status#,RECT#
WindowStyle 2 + 8 + 16 + 128 + 256 + 512
Window 0,0-1024,768
Getsyscolor(15)
Ani$ = \Progress_11.ani
Ani& = LoadImage(%hInstance,@Addr(Ani$),2,0,0,$10)
Dim Status#,8
Dim RECT#,16
Long Status#,0 = 984,-1
Status& = @Create(StatusWindow,%hWnd,,2,Status#)
@SendMessage(Status&,$040A,1,RECT#)
AniControl& = @Control(Static,,$50000003,(Long(RECT#,0) + 0),(Long(RECT#,4) + 2),0,0,Status&,0,%hInstance)

WhileNot %Key = 2

    WaitInput
    @SendMessage(AniControl&,$0170,Ani&,0)
    WaitInput
    @SendMessage(AniControl&,$0170,0,0)

EndWhile

DeleteObject Ani&
Dispose Status#
Dispose RECT#
End

10 kB
Hochgeladen:08/16/07
Downloadcounter94
Download
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
08/16/07  
 




Frank
Abbing
with whom Program have you got The Animation because prepares? Perhaps power the Yes a Error.
my Eigenschaftsdialog shows The Animation just as quick on How your code tappt im dunkeln too shows...
 
08/16/07  
 




Jörg
Sellmeyer
by me ists How with Frank.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/16/07  
 



by me ists How with Jörg.
 
08/16/07  
 




Georg
Hovenbitzer
Hello zusamnen,

i'm now something confused !!
Runs The Ani File in the program quick or slow ?

my target would it, The Animation in the program faster walk To let.
as externes Program to display I am always IrfanView and there runs tappt im dunkeln very quick. with the Creation the Animation with ArtCursors have I as Wiedergabegeschwindigkeit 60 Images per second tuned.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
08/16/07  
 




Jörg
Sellmeyer
by me ists How with Georg....

and How with Frank...

Irfanview shows a speedy Animation, in the Eigenschaftsdialog and in the program runs it slow.
have You you already times the Animationsbeispile of Andreas Miethe respected. Perhaps helps you there something moreover. [...] 
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/16/07  
 




GDL
if your whom small green beam,the with Rechtsklick in the Zeitausgabe runs means, the need for a running of left to right by me ca. 8sec.otherwise is the kommplette screen empty.too without Rechtsklick is everything Empty,too The Taskbar.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/16/07  
 




Jörg
Sellmeyer
now be so did i something confused. what mean You with Zeitausgabe? Why Rechtsklick?? Why Taskbar???
your Program power still nothing rechtsklickspezifisches.
I see right under in the Statusbar to beliebiger input (mouse/keyboard) The Animation. too by me lasts tappt im dunkeln ca.6-8 sec (only counted, the semi Schätzwert) under Irfanview is the Animation objectively faster. Perhaps can with of/ one Message the Control yet communicating How quick The Ani walk should.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/16/07  
 




Rolf
Koch
nothing mere garnichts To see. everything in a way.
 
08/16/07  
 




Michael
Wodrich
@Rolf:
CompileMarkSeparation
could the reason his...

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
08/16/07  
 




Rolf
Koch
*lol* Michael is correct was time again To quick
means if I it under Roc as animiertes Icon load, remaining The speed very The same as here in the Beispielprogramm.
becomes well so his, as Jörg described has. The Framedauer becomes in a To erstellenden Ani really Yes fix indicated.
 
08/17/07  
 




Michael
Wodrich
finds everything in the ComCtrl.DLL instead of. The Process-Monitor helps there unfortunately neither moreover.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
08/17/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

848 Views

Untitledvor 0 min.
RudiB.09/07/22
Chregu Mueller03/10/14

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie