ex123Dlg.h
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:2k
源码类别:
书籍源码
开发平台:
Visual C++
- // ex123Dlg.h : header file
- //
- #if !defined(AFX_EX123DLG_H__DC8A0C18_20BF_4387_B646_A4DF52C06D26__INCLUDED_)
- #define AFX_EX123DLG_H__DC8A0C18_20BF_4387_B646_A4DF52C06D26__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CEx123Dlg dialog
- class CEx123Dlg : public CDialog
- {
- // Construction
- public:
- CEx123Dlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CEx123Dlg)
- enum { IDD = IDD_EX123_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEx123Dlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- MCIDEVICEID m_MCIDeviceID;
- BOOL m_bIsPause;
- BOOL m_bIsPlaying;
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CEx123Dlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnDestroy();
- afx_msg LRESULT OnMciNotify(WPARAM wParam,LPARAM lParam);
- afx_msg void OnButtonOpen();
- afx_msg void OnButtonPlay();
- afx_msg void OnButtonStop();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void ShowMCIError(DWORD dwError);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EX123DLG_H__DC8A0C18_20BF_4387_B646_A4DF52C06D26__INCLUDED_)