Code : Tout sélectionner
Enumeration
#FenetreDeDepart
EndEnumeration
OpenWindow(#fenetreDeDepart,0,0,500,200,"ADG-SCORE",#PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_BorderLess)
StickyWindow(#fenetreDeDepart , 1)
ProgressBarGadget(0, 0, 180, 500, 20, 0, 100)
SetWindowColor(#fenetreDeDepart,RGB(159, 184, 253))
chiffre = 0
Repeat
chiffre+1
event = WindowEvent()
SetGadgetState(0,chiffre)
If chiffre = 100
CloseWindow(#fenetreDeDepart)
EndIf
Until event = #PB_Event_CloseWindow
PS: je veut faire un peut comme quand on ouvre toshop gimp ou DW, truc dans ce genre quoi