Code : Tout sélectionner
Librairie = OpenLibrary(0,"shell32.dll")
If OpenWindow(#Window_1,100,150,335,170,#PB_Window_WindowCentered,"Info ...")
If CreateGadgetList(WindowID())
TextGadget(#Text_0,5,WindowHeight() - 50,129,24,"Réplication en cours ...")
ProgressBarGadget(#ProgressBar_0, 0, WindowHeight() - 27, WindowWidth(),27,0,CountGadgetItems(#ListIcon_0),#PB_ProgressBar_Smooth)
AniWin = CreateWindowEx_(0, "SysAnimate32", "", #ACS_AUTOPLAY | #ACS_CENTER | #ACS_TRANSPARENT | #WS_CHILD | #WS_VISIBLE | #WS_CLIPCHILDREN | #WS_CLIPSIBLINGS, 10, 0, 300, 90, WindowID(), 0, GetModuleHandle_(0), 0)
SendMessage_(AniWin, #ACM_OPEN, Librairie, 161)
RedrawWindow_(AniWin, 0, 0, #RDW_INVALIDATE | #RDW_ERASE)
EndIf
EndIf
CloseLibrary(0)
Pour l'animation, j'ai pensé à un problème de coordonnées et donc pour essayer j'ai pris les infos de la démonstration du Soldat Inconnu provenant de PureCode 1.1 ... et cela ne fonctionne toujours pas dans mon cas. Quelqu'un aurait-il une idée ?