Playback in DVDSample (Windows CE 5.0)

Send Feedback

Messages generated by user input during playback are processed by the CApp::WndProc method. This method handles all of the generic window events such as WM_PAINT and WM_SIZE.

User commands from either the control panel icons or the menu bar are sent as WM_COMMAND messages and then processed in the CApp::MenuProc method. Very little processing actually takes place in CApp::MenuProc.

The real actions for most commands are handled by methods of the CDvdCore and CAppState objects.

The CDvdCore object has its own window message queue. This queue receives callback messages from the CDVDSampleEventSink object and from the video overlay window, if it is present.

The actions to respond to callback events are handled by methods of the CDvdCore object. Messages that affect the location or status of the overly window are handled by methods of the CDvdVideo object.

See Also

The DVDSample Control Panel

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.