Solved

Playback whit ActiveMovie 1.0

Posted on 1997-07-28
1
226 Views
Last Modified: 2013-12-03
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....
0
Comment
Question by:sylvaind
1 Comment
 
LVL 3

Accepted Solution

by:
vinniew earned 200 total points
Comment Utility
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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now