English
Source / code snippets

Fortschrittsbalken List view Processbar

 
Fortschrittsbalken Processbar in the list view of Frank Abbing (needed listview.dll ).
CompileMarkSeparation
Randomize
Declare Listview&,Lvdll&,Text$,Text2$,X&,Y&,Z&,Font&
Def Getsyscolor(1) !USER32,GetSysColor
 $I Listview_funktionen.inc
Lvdll&=Usedll(Listview.dll)
Windowstyle 543
Windowtitle Listview.dll / Prozentanzeige
Window 0,0-400,256
Cls Getsyscolor(15)
Font&=Create(Font,MS Sans Serif,13,0,0,0,0)
X&=Mixrgbs(Getsyscolor(15),$00Ffffffff)
Listview&=Createlistview(%Hwnd,%Hinstance,0,X&,-1,$31)
Setfont Listview&,Font&
Insertcolumn Listview&,Text,60,0
Insertcolumn Listview&,Prozent,240,0

Whileloop 12

    Text2$=
    X&=Rnd(30)

    Whileloop X&

        Text2$=Text2$+Chr$(127)

    Wend

    Text2$=Text2$+  +Str$(Int(100/30*X&))+%
    Text$=Item +Str$(&Loop)
    Setitem Listview&,Text$,Text2$

Wend

Autosortlistview Listview&,1,1
Showlistview(Listview&,8,8,370,200)
Initmessages(%Hwnd)
Settimer 1500

While 1

    Waitinput
    Case %Key=2:Break
    Y&=Rnd(4)

    Whileloop 12

        Text2$=
        X&=Rnd(30)

        Whileloop X&

            Text2$=Text2$+Chr$(127)

        Wend

        Case Y&=0:Text2$=Text2$+  +Str$(Int(100/30*X&))+%
        Setitemtext(Listview&,Addr(Text2$),1,(&Loop-1))

    Wend

Wend

Killtimer
Destroywindow(Listview&)
Closemessages(%Hwnd)
Freedll Lvdll&
Deleteobject Font&
 $I Listview_dispose.inc
ass=s4 href='./../../function-references/XProfan/end/'>End
 
11/27/05  
 



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

2.331 Views

Untitledvor 0 min.
Gast.081510/12/24
Uwe Lang04/13/20
Axel Berse02/18/19
Member 154727709/23/18
More...

Themeninformationen

this Topic has 1 subscriber:

iF (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