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

正文內(nèi)容

dvd仿真程序設(shè)計_面向?qū)ο蟪绦蛘n程設(shè)計說明書-資料下載頁

2025-07-11 10:28本頁面

【導(dǎo)讀】1.根據(jù)實際DVD的運(yùn)行狀況進(jìn)行需求分析;2.抽象DVD運(yùn)行算法;3.設(shè)計DVD運(yùn)行程序及人機(jī)交互界面;4.模塊功能滿足要求、界面友好、具有一定的健壯性;5.撰寫出符合要求的課程設(shè)計報告。一首,下一首,音量的加,音量減的功能。此外模擬了一個接口按鈕,用于DVD. 向顯示設(shè)備的數(shù)據(jù)輸入。至此,實現(xiàn)此次DVD. 仿真模擬的設(shè)計目的。libraries),以C++類的形式封裝了Windows的API,并且包含一個應(yīng)用程序框架,以減少應(yīng)用程序開發(fā)人員的工作量。其中包含的類包含大量Windows句柄封裝??梢源蜷_數(shù)據(jù)中心倉庫,電源開關(guān)實現(xiàn)DVD機(jī)關(guān)閉的功能。鼠標(biāo)右鍵點擊此按鈕的可以彈出右鍵菜單,右鍵菜單響應(yīng)的事件功能有,{播放和查。看文件的大小屬性}。區(qū)域4:點擊可以打開文件選擇對話框,實現(xiàn)讓用戶選擇非DVD格式的文件?;A(chǔ)上對于播放的擴(kuò)展。上面為DVD文件的播放菜單,DVD文件是用轉(zhuǎn)換。個大約2G,轉(zhuǎn)換時間周期較長,用晚上轉(zhuǎn)換的。

  

【正文】 DVDIcon=AfxGetApp()LoadIcon(IDI_ICON1)。 BoxIcon=AfxGetApp()LoadIcon(IDI_ICON2)。 SetIcon(DVDIcon,TRUE)。 (BoxIcon)。 (BoxIcon)。 (BoxIcon)。 (IDD_DIALOG2,this)。 p=0。 // TODO: Add extra initialization here return TRUE。 // 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=()。 (SW_SHOW)。 // (((CAaApp *)AfxGetApp())str1)。 //MessageBox(((CAaApp *)AfxGetApp())str1)。 //().play()。 } void Dlg1::OnButton3() { // TODO: Add your control notification handler code here MessageBox(光碟夾里無光碟 )。 } void Dlg1::OnButton2() { // TODO: Add your control notification handler code here (SW_SHOW)。 (((CAaApp *)AfxGetApp())str2)。 //().play()。 } 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)。 MessageBox(str3,支持格式 ,MB_OK)。 } BOOL Dlg1::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class CRect r1,r2,r3,r4,r5。 CRect Rt1。 CMenu cmenu1。 POINT pt。 CMenu c_menu。 ::GetWindowRect(GetDlgItem(IDC_BUTTON1)GetSafeHwnd(),amp。r1)。 //得到 button 所在的 rect ::GetWindowRect(GetDlgItem(IDC_BUTTON2)GetSafeHwnd(),amp。r2)。 ::GetWindowRect(GetDlgItem(IDC_BUTTON3)GetSafeHwnd(),amp。r3)。 ::GetWindowRect(GetDlgItem(IDC_BUTTON4)GetSafeHwnd(),amp。r4)。 ::GetWindowRect(GetDlgItem(IDC_EDIT1)GetSafeHwnd(),amp。r5)。 ::GetCursorPos(amp。pt)。//得到鼠標(biāo)動作的位置 if (pMsgmessage==WM_RBUTTONDOWN) { ::GetWindowRect(GetDlgItem(IDC_LIST1)GetSafeHwnd(),amp。Rt1)。 ::GetCursorPos(amp。pt)。 if (PtInRect(amp。Rt1,pt)) { (IDR_MENU1)。 CMenu *pPopup=(0)。 pPopupTrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON,this)。 } } // // { // pMsgmessage==WM_LBUTTONDOWN。 // if (PtInRect(amp。r1,pt)) { if (pMsgmessage==WM_LBUTTONUP) { if (PtInRect(amp。r5,pt)) { (((CAaApp *)AfxGetApp())str1)。 (SW_SHOW)。 } } } // TODO: 在此添加專用代碼和 /或調(diào)用基類 if (pMsgmessage==WM_RBUTTONDOWN) { if (PtInRect(amp。r1,pt)||PtInRect(amp。r2,pt)||PtInRect(amp。r3,pt)) { (IDR_MENU2)。 CMenu *pPopup=(0)。 //ClientToScreen(amp。pt)。//因為 point 的位置是從屏幕的左上角為起點開始計算的,要 想讓菜單在正確的位置顯示就要使用這個 ClientToScreen 函數(shù)將屏幕菜單轉(zhuǎn)化成為正確的 view 坐標(biāo)。 pPopupTrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, , ,this)。//不想在框架類顯示就把 GetParent()改為 this。 //trackpopupmenu 是用來顯示右擊菜單的。 //AfxMessageBox(_T(右鍵單擊 )) } if (PtInRect(amp。r4,pt)) { (IDR_MENU3)。 CMenu *pPopup=(0)。 //ClientToScreen(amp。pt)。//因為 point 的位置是從屏幕的左上角為起點開始計算的,要想讓菜單在正確的位置顯示就要使用這個 ClientToScreen 函數(shù)將屏幕菜單轉(zhuǎn)化成為正確的 view 坐標(biāo)。 pPopupTrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, , ,this)。//不想在框 架類顯示就把 GetParent()改為 this。 //trackpopupmenu 是用來顯示右擊菜單的。 //AfxMessageBox(_T(右鍵單擊 )) } } return CDialog::PreTranslateMessage(pMsg)。 } BOOL Dlg1::OnCommand(WPARAM wParam, LPARAM lParam) { // TODO: Add your specialized code here and/or call the base class UINT uMsg=LOWORD(wParam)。 CRect r1,r2。 POINT pt。 char szFileFilter[]= Mp3 File(*.mp3)|*.mp3| MPEG File(*.mpeg)|*.mpeg| Media File(*.asf)|*.asf| Video File(*.dat)|*.dat| MPGA File(*.mpga)|*.mpga| Wave File(*.wav)|*.wav| AVI File(*.avi)|*.avi| Movie File(*.mov)|*.mov| Mid File(*.mid。*.rmi)|*.mid。*.rmi| Wma File(*.wma)|*.wma| All File(*.*)|*.*||。 ::GetWindowRect(GetDlgItem(IDC_BUTTON1)GetSafeHwnd(),amp。r1)。 //得到 button 所在的 rect ::GetWindowRect(GetDlgItem(IDC_BUTTON2)GetSafeHwnd(),amp。r2)。 ::GetCursorPos(amp。pt)。//得到鼠標(biāo)動作的位置 if (uMsg==ID_MENUITEM32771) { CFileDialog dlg(TRUE,NULL,NULL,OFN_HIDEREADONLY,szFileFilter)。 if (()==IDOK) { CString PathName=()。 ()。 int nIndex = ()。 (nIndex,PathName)。 (PathName)。 //MessageBox(PathName)。 } } if (uMsg==ID_MENUITEM32772) { int nIndex=()。 int nState = this(nIndex)。 if (nState) { (nIndex)。 } else return 0。 } if (uMsg==ID_MENUITEM32774) { if (PtInRect(amp。r1,pt)) { (((CAaApp *)AfxGetApp())str1)。 (SW_SHOW)。 } if (PtInRect(amp。r2,pt)) { (((CAaApp *)AfxGetApp())str2)。 (SW_SHOW)。 } } if (uMsg==ID_MENUITEM32775) { if (PtInRect(amp。r1,pt)) { MessageBox(((CAaApp *)AfxGetApp())str1)。 } if (PtInRect(amp。r2,pt)) { MessageBox(((CAaApp *)AfxGetApp())str2)。 } //itoa(uMsg32770,buffer,10)。 //MessageBox(CString(我點擊啦菜單重命名 ))。 } if (uMsg==ID_MENUITEM32776) { CFileDialog dlg(TRUE,NULL,NULL,OFN_HIDEREADONLY,szFileFilter)。 if (()==IDOK) { CString fileName=()。 //創(chuàng)建一個媒體 //SetDlgItemText(IDC_EDIT1,fileName)。 (p,fileName)。 p++。 //(0, FALSE)。 } } return CDialog::OnCommand(wParam, lParam)。 } void Dlg1::OnButton4() { char szFileFilter[]= Mp3 File(*.mp3)|*.mp3| MPEG File(*.mpeg)|*.mpeg| Media File(*.asf)|*.asf| Video File(*.dat)|*.dat| MPGA File(*.mpga)|*.mpga| Wave File(*.wav)|*.wav| AVI File(*.avi)|*.avi| Movie File(*.mov)|*.mov| Mid File(*.mid。*.rmi)|*.mid。*.rmi| Wma File(*.wma)|*.wma| All File(*.*)|*.*||。 // TODO: Add your control notification handler code here CFileDialog dlg(TRUE,NULL,NULL,OFN_HIDEREADONLY,szFileFilter)。 if (()==IDOK) { CString fileName=()。 //創(chuàng)建一個媒體 //SetDlgItemText(IDC_EDIT1,fileName)。 (p,fileName)。 p++。 //MessageB
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1