This site is no longer active and is available for archival purposes only. Registration and login is disabled.

DirectShow integration within EdgeLib


DirectShow integration within EdgeLib

Postby anxer » Dec 18, 2007 @ 11:13am

Dear Edge,

In our application we need to integrate DirectShow specific code in order to playback some video using Windows Media Player.

I have managed to compile and link a sample that is provided from Microsoft inside EdgeLib (the window handle Getcommand is perfect by the way) but I cannot solve the following problem.

How can I "forward" the WM_GRAPHNOTIFY: event which is sent to the WindowProc inside EdgeLib?

FYI the sample code I use is given here http://msdn2.microsoft.com/en-us/library/aa451352.aspx

What i have in mind is from an EdgeLib menu to play a video (remote/local) through DirectShow to play it full screen and when the user presses the video or a specific box to close it and return to EdgeLib menu.

Of course if you think that it is possible to see video (not full screen) and have EdgeLib menu visible this could be perfect (I assume with no autoFlip)

Looking forward for your reply

Regards
anxer
pm Member
 
Posts: 15
Joined: Oct 20, 2004 @ 1:39pm


Postby edge » Dec 18, 2007 @ 12:42pm

Hi Anxer,

You can use the SendMessage API to forward window messages to another window (using the window handle).

If you would like to receive custom messages sent to your own window, you can create the OnNativeEvent function inside your framework: http://www.edgelib.com/index.php?node=1 ... ativeevent
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby anxer » Dec 18, 2007 @ 1:35pm

Cool i will give a try and inform you about the progress. You have figured everything :-)
anxer
pm Member
 
Posts: 15
Joined: Oct 20, 2004 @ 1:39pm


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron