Click here to Skip to main content
15,895,084 members
Articles / Desktop Programming / MFC

A Basic Media Player

Rate me:
Please Sign up or sign in to vote.
4.45/5 (40 votes)
10 Jan 2013GPL33 min read 265.3K   12.7K   106  
Using MCIWnd wrapper class to write a simple media player
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by mci.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDP_OLE_INIT_FAILED             100
#define IDS_ABOUTBOX                    101
#define ID_TIMER_POS                    101
#define IDD_mci_DIALOG               102
#define ID_TIMER_POSITION               102
#define ID_TIMER_FULLSCREEN             103
#define ID_TIMER_ONETIME                104
#define IDR_MAINFRAME                   128
#define IDR_MENU1                       129
#define IDI_PLAY                        132
#define IDI_PAUSE                       133
#define IDI_STOP                        134
#define IDD_MOVIE                       135
#define IDR_ACCELERATOR1                136
#define IDD_PREF                        138
#define IDC_STATIC1                     1005
#define IDC_SLIDER1                     1007
#define IDC_PLAY                        1009
#define IDC_PAUSE                       1010
#define IDC_STOP                        1011
#define IDC_SLIDER2                     1015
#define IDC_AUTOSTART                   1018
#define IDC_LOOP                        1019
#define IDC_REW                         1020
#define IDC_STATUS                      1021
#define ID_FILE_EXIT                    32773
#define ID_VIEW_FULLSCREEN              32775
#define ID_PLAYBACK_PLAYPAUSE           32776
#define ID_PLAYBACK_VOLUME_UP           32777
#define ID_PLAYBACK_VOLUME_DOWN         32778
#define ID_PLAYBACK_VOLUME_MUTE         32779
#define ID_VIEW_PREFERENCES             32780
#define ID_PLAYBACK_SEEK_FORWARD        32781
#define ID_PLAYBACK_SEEK_REWIND         32782

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        139
#define _APS_NEXT_COMMAND_VALUE         32783
#define _APS_NEXT_CONTROL_VALUE         1022
#define _APS_NEXT_SYMED_VALUE           105
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Chief Technology Officer
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions