in der hilfe steht nur:
You can call them very easy through the WinAPI
You can call them very easy through the WinAPI
Code: Alles auswählen
Procedure AnimateOpen(Gadget, Ani.s,hInstance.l = 0)
ProcedureReturn SendMessage_(GadgetID(Gadget), #ACM_OPEN, hInstance , Ani)
EndProcedure
Procedure AnimatePlay(Gadget,loop.l = -1, start = 0,ende = -1)
ProcedureReturn SendMessage_(GadgetID(Gadget),#ACM_PLAY,loop,(start | (ende << 16)))
EndProcedure
Procedure AnimateStop(Gadget)
ProcedureReturn SendMessage_(GadgetID(Gadget),#ACM_STOP, 0, 0)
EndProcedure
Procedure AnimateGadget(ID,x, y, cx, cy)
ProcedureReturn CreateGadget(ID, "SysAnimate32", "", #ACS_CENTER | #ACS_TRANSPARENT | #WS_CHILD | #WS_VISIBLE, x, y, cx, cy, 0, 0, 0)
EndProcedure