Hi everyone! This is question for those who managed to link video playback to EDGE.
It was easy to code using EDGE framework, but now I have to implement DirectShow for movie playback, and I'm still pretty noob at understanding event handling.
I linked and compiled all ready samples from MSDN, exept this:
I want to understand this part of code. WM_GRAPHNOTIFY is event message, am I correct?
WindowProc is main event loop, so when WindowProc will receive WM_GRAPHNOTIFY, it will execute HandleEvent()?
And what this WM_APP is here for?#define WM_GRAPHNOTIFY WM_APP + 1?
Last question: Where do this WM_GRAPHNOTIFY comes from? I just do not get , do I have to sent it manually to WindowProc Loop using OnNativeEvent or something like that?
I really do appreciate all help here.
It was easy to code using EDGE framework, but now I have to implement DirectShow for movie playback, and I'm still pretty noob at understanding event handling.
I linked and compiled all ready samples from MSDN, exept this:
- Code:
/* WindowProc goes here. Add the following case statement:
case WM_GRAPHNOTIFY:
HandleEvent();
break;
*/
I want to understand this part of code. WM_GRAPHNOTIFY is event message, am I correct?
WindowProc is main event loop, so when WindowProc will receive WM_GRAPHNOTIFY, it will execute HandleEvent()?
And what this WM_APP is here for?#define WM_GRAPHNOTIFY WM_APP + 1?
Last question: Where do this WM_GRAPHNOTIFY comes from? I just do not get , do I have to sent it manually to WindowProc Loop using OnNativeEvent or something like that?
I really do appreciate all help here.