PVGadgets_AnimGadget (hAnimGadget.l,Window.l,x,y,w,h,Flag.l)
Previous  Top  Next

Creates a PVGadgets_AnimGadget using the specified animation.

Use:
hGadget=PVGadgets_InitAnimadget(hAnimGadget)

Returns Handle of created Gadget.


Flag
150 - Search  
151 - Search Document  
152 - Search Computer  
160 - Copy Multi Files  
161 - Copy File  
162 - Delete Files  
163 - Empty Recycle Bin  
164 - Kill File  



Example:

hAnimGadget=PVGadgets_InitAnimGadget()
#Window_Main=1

If OpenWindow(#Window_Main,175,0,282,68,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"Demo")
 
Gadget_Main_Anim=PVGadgets_AnimGadget(hAnimGadget,#Window_Main,0,0,280,65,160)  
 
Repeat  
Until WaitWindowEvent()=#PB_Event_CloseWindow  
PVGadgets_FreeAnimGadget(hAnimGadget)  
 
EndIf