English
Source / code snippets

Countdown Counter Countup Hhmmss stopwatch watch Time counter - 3

 

Julian
Schmidt
to that high and Runterzählen of times.
CLS
Declare int t, d, h, m, s, start, end
t = &gettickcount
start = 10 * 1000'Time in Millisekunden
end = 0 * 1000' to that Hochzählen start and end vertauschen

While 1

    Sleep 100
    d = Abs(If(start>end,start+1000,start*-1)-(&gettickcount - t))
    h = Abs((d mod 86400000) /3600000)
    m = Abs((d mod 3600000) / 60000)
    s = Abs((d mod 60000) / 1000)
    Settext %hwnd, Str $(h) + "h; " + Str $(m) + "m; "+Str $(s)+"s"

    If If(start>end,d<=end+100,d>=end+100)

        Messagebox("Die Time is abgelaufen","MELDUNG",0)
        break

    EndIf

EndWhile


here an example to usage in a own Process [...] 
 
XProfan X2
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/02/14  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.080 Views

Untitledvor 0 min.
Tommy vor 20 Tagen
p.specht11/20/21
Uwe Lang11/20/21
Manfred Barei11/19/21
More...

Themeninformationen

this Topic has 1 subscriber:

Julian Schmidt (1x)


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