Playback whit ActiveMovie 1.0

Hi, my problem is when I want to make more than
one (1) playback in a DirectX 3.0 application using ActiveMovie 1.0 for playback, my main window goes in minimize state to the task bar.

I make the playback in my main window, I have to use the function  put_Owner((OHWND)m_hWnd) from the interface IVideoWindow then use the function put_WindowStyle(WS_CHILD|WS_CLIPCHILDREN| WS_CLIPSIBLINGS); from the same interface.

It's play like i suppose everything it's fine....

But when I want to playback again here's the problem and my mainwindow goes in minimize state in the task bar.

Everytime I play a media I initialise every interface the when I it's over I release all interface and before I close the graphbuilder interface I put the Owner of the window to NULL like this put_Owner(NULL); from the interface IVideoWindow.


One more thing do you know where I'll can found the beta version 2.0 of ActiveMovie.

Thank You for your help, Sylvain....
sylvaindAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vinniewCommented:
I think this will work:

Find the handle to your main window.

Enumerate child windows.

SetFocus to the one you want.
post a SW_MAXIMIZE message to it.

V

If this doesn't work, post more code.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.