RE: macros....api.....commctrl..animations

new topic     » topic index » view thread      » older message » newer message

> -----Original Message-----
> From: jordah ferguson [mailto:jorfergie03 at yahoo.com]

> hi every one,
> i'm trying to use the macro found in commctrl.dll but euphoria has
> failed to open the dll. what could the problem be. could it
> be that my
> dll is corupt....
>
> the macro is Animate_create() it creates an animation control
> that can
> view avi files....It has extra properties as compared to the
> version by
> G.burke(win32avi.zip) it supports transparency and so on...if
> anyone can
> help me try linking to this dll and simply wrapping for me this macro
> and giving me feedback if it works i'll appreciate it

The macro is actually part of the C++ header for the dll.  All it does is
some dirty work in calling CreateWindow(), which Graeme's function already
does.  You can use transparency with his code.  The appropriate constants
are defined in w32avi.ew.

To create a transparent animation, you could simply add ACS_TRANSPARENT to
the animateCreate() call:

a=animateCreate(win,or_all({WS_CHILD,WS_VISIBLE, ACS_TRANSPARENT}))

Matt Lewis

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu