freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

dvd仿真程序設(shè)計(jì)_面向?qū)ο蟪绦蛘n程設(shè)計(jì)說(shuō)明書(專業(yè)版)

  

【正文】 *.rmi)|*.mid。r2,pt)) { (((CAaApp *)AfxGetApp())str2)。pt)。//因?yàn)?point 的位置是從屏幕的左上角為起點(diǎn)開始計(jì)算的,要想讓菜單在正確的位置顯示就要使用這個(gè) ClientToScreen 函數(shù)將屏幕菜單轉(zhuǎn)化成為正確的 view 坐標(biāo)。 } } } // TODO: 在此添加專用代碼和 /或調(diào)用基類 if (pMsgmessage==WM_RBUTTONDOWN) { if (PtInRect(amp。r5)。 } void Dlg1::OnButton5() { // TODO: Add your control notification handler code here CString str3(所支持的非格式: mp3,wma, Avi, MP4,mpeg,asf,dat,mpga,wav,mov,mid,rmi)。 SetIcon(DVDIcon,TRUE)。 //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. endif // !defined(AFX_DLG1_H__15EEADF6_D4B1_469E_B24C_30872496AF0D__INCLUDED_) 文件 // : implementation file // include include include ifdef _DEBUG define new DEBUG_NEW undef THIS_FILE static char THIS_FILE[] = __FILE__。 CButton m_btn1。 int select。 int nIndex = ()。 ::GetCursorPos(amp。 i++。 GetDlgItem(IDC_BUTTOClose)SetWindowText(電源開 )。 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout。 m_wmpDVD=()。 DDX_Control(pDX, IDC_BUTTONForhead, m_Forhead)。 CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) { //{{AFX_DATA_INIT(CAboutDlg) //}}AFX_DATA_INIT } void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX)。 afx_msg void OnBUTTONVolBig()。 CWMPMedia m_media。 CButton m_Stop。 CAaDlg 類 SmallPlayer 類 Dlg1 類 2. 類的構(gòu)造順序:先構(gòu)造類 CAaDlg ,然后構(gòu)造類 Dlg1. 3. 錯(cuò)誤描述及其解決辦法 ( 1)問(wèn)題 1: 問(wèn)題描述:點(diǎn)擊音量增加按鈕音量無(wú)法增加,代碼已經(jīng)添加。一個(gè)消息必須由一個(gè)窗口接收。 protected: afx_msg void OnButton1()。 CWMPControls m_control。 // DDX/DDV support virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam)。 afx_msg void OnDblclkList1()。 virtual BOOL OnInitDialog()。 CButton m_Forhead。 4. 運(yùn)行環(huán)境: 硬件: Windows7 操作系統(tǒng)平臺(tái) 軟件: Visual C++ 5.條件與限制:條件是由于播放 DVD 的文件解碼較苛刻,系統(tǒng)必須安裝有 DVD 格式的解碼器。③光碟數(shù)據(jù)的存儲(chǔ)區(qū)域模擬。還模擬了一個(gè) DVD 的電源開關(guān)。 區(qū)域 1:可以點(diǎn)擊對(duì)應(yīng)的菜單實(shí)現(xiàn)對(duì)應(yīng)的音影的播放功能。 int t。 CString str1。 afx_msg void OnBUTTONJIeKou()。 CButton m_btn2。 DECLARE_MESSAGE_MAP() }。 類 SmallPlayer 實(shí)現(xiàn)把 DVD 光碟的小窗口播放。 afx_msg void OnButton2()。非模態(tài)對(duì)話框的建立需要 (IDD_DIALOG1,this)。這次設(shè)計(jì)使我進(jìn)步很大,收獲頗豐。 CButton m_Forhead。 // Generated message map functions //{{AFX_MSG(CAaDlg) virtual BOOL OnInitDialog()。 afx_msg void OnDblclkList1()。 DDX_Control(pDX, IDC_BUTTONStop, m_Stop)。 (BoxIcon)。 if (!()) { pSysMenuAppendMenu(MF_SEPARATOR)。rect)。 // CFileDialog fileDialog( TRUE,NULL,NULL,NULL,szFileFilter,this)。 GetDlgItem(IDC_BUTTONJIeKou)SetWindowText(接口關(guān) )。*.ifo)|*.vob。 } void CAaDlg::OnBUTTONDown() { // TODO: Add your control notification handler code here ()。 } 文件 // //{{AFX_INCLUDES() include //}}AFX_INCLUDES if !defined(AFX_DLG1_H__15EEADF6_D4B1_469E_B24C_30872496AF0D__INCLUDED_) define AFX_DLG1_H__15EEADF6_D4B1_469E_B24C_30872496AF0D__INCLUDED_ if _MSC_VER 1000 pragma once endif // _MSC_VER 1000 // : header file // ///////////////////////////////////////////////////////////////////////////// // Dlg1 dialog class Dlg1 : public CDialog { // Construction public: Dlg1(CWnd* pParent = NULL)。 afx_msg void OnButton3()。 DDX_Text(pDX, IDC_EDIT1, m_edit)。 // (((CAaApp *)AfxGetApp())str1)。 //得到 button 所在的 rect ::GetWindowRect(GetDlgItem(IDC_BUTTON2)GetSafeHwnd(),amp。 CMenu *pPopup=(0)。//不想在框架類顯示就把 GetParent()改為 this。*.rmi)|*.mid。 int nState = this(nIndex)。 if (()==IDOK) { CString fileName=()。 //MessageBox((。 //MessageBox(CString(我點(diǎn)擊啦菜單重命名 ))。 //MessageBox(PathName)。 POINT pt。//因?yàn)?point 的位置是從屏幕的左上角為起點(diǎn)開始計(jì)算的,要 想讓菜單在正確的位置顯示就要使用這個(gè) ClientToScreen 函數(shù)將屏幕菜單轉(zhuǎn)化成為正確的 view 坐標(biāo)。 if (PtInRect(amp。 ::GetWindowRect(GetDlgItem(IDC_BUTTON1)GetSafeHwnd(),amp。 // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } void Dlg1::OnButton1() { // TODO: Add your control notification handler code here //(IDCANCEL) // //CString PathName=()。 DDX_Control(pDX, IDC_BUTTON2, m_btn2)。 //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(Dlg1) afx_msg void OnButton1()。 //(SW_SHOW)。 } else return 0。 } BOOL CAaDlg::OnCommand(WPARAM wParam, LPARAM lParam) { // TODO: Add your specialized code here and/or call the base class UINT uMsg=LOWORD(wParam)。 ()。*,rmi)|*.mid。 CRect rect。 if (pSysMenu != NULL) { CString strAboutMenu。 BoxIcon=AfxGetApp()LoadIcon(IDI_ICON2)。 DDX_Control(pDX, IDC_BUTTOPlay, m_Play)。 afx_msg void OnBUTTONMenu()。 // DDX/DDV support virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam)。 CButton m_Menu。這樣不僅培養(yǎng)了遇到問(wèn)題的思考方法,而且更培養(yǎng)了我編程中分析問(wèn)題,解決問(wèn)題的方法途徑等等。且關(guān)于模態(tài)對(duì)話框與非模態(tài)對(duì)話框的顯示機(jī)制不同。 afx_msg void OnDblclkList1()。 virtual BOOL OnInitDialog()。 afx_msg void OnSelchangeList1()。 CButton m_btn4。 afx_msg void OnBUTTONVolBig()。 CWMPMedia m_media。 CButton m_Stop。功能的增強(qiáng)。 參考 文獻(xiàn) 1.鄭秋生、 吳慶濤,《 C/C++程序設(shè)計(jì)》,北京:電子工業(yè)出版社 2.譚浩強(qiáng) 《 C++程序設(shè)計(jì)》,北京:清華大學(xué)出版社 時(shí) 間 進(jìn) 度 安 排 序號(hào) 起止日期 工 作 內(nèi) 容 1 學(xué)生熟悉題目背景,查閱資料 2 學(xué)生進(jìn)行功能模塊設(shè)計(jì)、編碼、測(cè)試 3 程序驗(yàn)收 4 根據(jù)設(shè)計(jì)內(nèi)容形成課程設(shè)計(jì)文檔,撰寫課程設(shè)計(jì)報(bào)告 5 上交課程設(shè)計(jì)報(bào)告 任課教師:劉中華 、張曉玲、李艷霞 時(shí)間: 課程設(shè)計(jì)報(bào)告文檔 題目: DVD 仿真程序設(shè)計(jì) 一.引言 1.編寫目的: 實(shí)現(xiàn)模擬 DVD 的功能 需要包含①數(shù)據(jù)顯示區(qū)域(相當(dāng)于顯示類的產(chǎn)品),② DVD 模擬區(qū)域,實(shí)現(xiàn)模擬 DVD 的快進(jìn),快退,播放,暫停,菜單,上一首,下一首,音量的加,音量減的功能。 區(qū)域 2:點(diǎn)擊鼠標(biāo)的右鍵可以打開右鍵菜單: { } 區(qū)域 3:實(shí)現(xiàn) DVD 的模擬功能: 點(diǎn)擊 快進(jìn)按鈕實(shí)現(xiàn)快進(jìn)功能; 點(diǎn)擊 快退按鈕實(shí)現(xiàn)快退功能; 點(diǎn)擊 播放按鈕實(shí)現(xiàn)播放功能; 點(diǎn)擊 暫停按鈕實(shí)現(xiàn)暫停功能; 點(diǎn)擊 +按鈕實(shí)現(xiàn)音量的加功能; 點(diǎn)擊 按鈕實(shí) 現(xiàn)音量減的功能; 點(diǎn)擊菜單按鈕可以實(shí)現(xiàn) DVD 光碟返回到菜單的功能; 模擬了一個(gè)接口按鈕,相當(dāng)于 DVD 像顯示接口插入的一條數(shù)據(jù)線,用于 DVD向顯示設(shè)備的數(shù)據(jù)輸入; 電源開關(guān)實(shí)現(xiàn) DVD 機(jī)關(guān)閉的功能。 // standard constructor enum { IDD = IDD_AA_DIALOG }。 CWMPPlaye
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1