How do I add Avis in dialog boxes

RBCC

2009-07-22 09:41:07

How do I add Avis to dialog boxes? John 8)

RBCC

2009-07-23 17:22:14

How do I put an avi in a dialog box in Vista? John

florian

2009-07-27 12:32:32

Hi,

there is no specific avi control that you could just add and it plays the avi directly. I think you can embed a video control with

Code: Select all

CONTROL "MyAnimation", 123, "SysAnimate32", WS_TABSTOP, 0, 0, 200, 100
But I don't think you can reference an avi in the resources to auto-load and auto play. Maybe you can find a tip with a Google search? Also, using the "Find Resources" tool in Restorator, you can try to see if any program on your hard disk uses SysAnimate32 and if yes, how it loads the avi files.

Also, afaik, SysAnimate32 won't play the sound of an avi.

Florian

RBCC

2009-07-28 03:52:26

So If my animation is 1200 then the line would read:
CONTROL "1200", 123, "SysAnimate32", WS_TABSTOP, 0, 0, 200, 100

florian

2009-07-31 15:05:05

no, it should be:
CONTROL 1200, 123, "SysAnimate32", WS_TABSTOP, 0, 0, 200, 100

Regards,
Florian

RBCC

2009-08-04 04:31:11

Thank you Florian!