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

正文內(nèi)容

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

  

【正文】 r4 m_WMPlayer。 afx_msg void OnPaint()。 CAaDlg 類實(shí)現(xiàn)了模擬 DVD 的主界面的功能實(shí)現(xiàn)。 virtual BOOL OnInitDialog()。 CWMPPlaylist m_playlist。 afx_msg void OnButton3()。例如你希望對(duì)菜單選擇進(jìn)行處理那么你可以定義對(duì)WM_COMMAND 進(jìn)行 處理的代碼,如果希望在窗口中進(jìn)行圖形輸出就必須對(duì) WM_PAINT進(jìn)行處理。 ( 2)問(wèn)題 2 問(wèn)題描述:點(diǎn)擊 list 區(qū)域鼠標(biāo)點(diǎn)擊的位置 和右鍵菜單出現(xiàn)的位置有距離差; 解決辦法:在 ClientToScreen(amp。 int t。 CString str1。 afx_msg void OnBUTTONJIeKou()。 t1=true。 DDX_Control(pDX, IDC_OCX1, m_WMp)。 (FALSE)。 } else { CDialog::OnSysCommand(nID, lParam)。 (NULL)。 } void CAaDlg::OnBUTTONVolSmall() { // TODO: Add your control notification handler code here int i=()。 if (PtInRect(amp。 (PathName)。 select=()。 int p。 //}}AFX_DATA_INIT } void Dlg1::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX)。 (BoxIcon)。 } BOOL Dlg1::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class CRect r1,r2,r3,r4,r5。pt)。r2,pt)||PtInRect(amp。//不想在框 架類顯示就把 GetParent()改為 this。 if (()==IDOK) { CString PathName=()。 } } if (uMsg==ID_MENUITEM32775) { if (PtInRect(amp。 // TODO: Add your control notification handler code here CFileDialog dlg(TRUE,NULL,NULL,OFN_HIDEREADONLY,szFileFilter)。 } } return CDialog::OnCommand(wParam, lParam)。 (SW_SHOW)。r2)。 //ClientToScreen(amp。r5,pt)) { (((CAaApp *)AfxGetApp())str1)。r4)。 (((CAaApp *)AfxGetApp())str2)。 DVDIcon=AfxGetApp()LoadIcon(IDI_ICON1)。 afx_msg void OnDblclkList1()。 CButton m_btn3。 } void CAaDlg::OnOpen() { // TODO: Add your control notification handler code here (SW_SHOW)。 if (()==IDOK) { CString PathName=()。 if (pMsgmessage==WM_RBUTTONDOWN) { ::GetWindowRect(GetDlgItem(IDC_LIST1)GetSafeHwnd(),amp。 // } // else } void CAaDlg::OnBUTTOSlow() { // TODO: Add your control notification handler code here ()。 } } // The system calls this to obtain the cursor to display while the user drags // the minimized window. HCURSOR CAaDlg::OnQueryDragIcon() { return (HCURSOR) m_hIcon。 // Set small icon // TODO: Add extra initialization here return TRUE。 m_Control=()。 DDX_Control(pDX, IDC_BUTTONMenu, m_Menu)。 //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAboutDlg) protected: virtual void DoDataExchange(CDataExchange* pDX)。 afx_msg void OnBUTTONForhead()。 CWMPSettings m_set。 CButton m_Play。 2.問(wèn)題 2 ( 1)問(wèn)題描述: 播放文件時(shí),列表中選中的文件播放的是列表中其他的文件 ( 2)解決辦法:使用 ()設(shè)置列表索引號(hào),這樣索引順序正確,問(wèn)題得到解決。例如當(dāng)菜單轉(zhuǎn)中之后會(huì)有 WM_COMMAND 消息發(fā)送, WPARAM 的高字中( HIWORD(wParam))是命令的 ID 號(hào),對(duì)菜單來(lái)講就是菜單 ID。 protected: virtual void DoDataExchange(CDataExchange* pDX)。 CButton m_btn2。 public: virtual BOOL PreTranslateMessage(MSG* pMsg)。 afx_msg void OnBUTTONMenu()。 // DDX/DDV support virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam)。 CButton m_Menu。在此說(shuō)明 一下。此外模擬了一個(gè)接口按鈕,用于 DVD 向顯示設(shè)備的數(shù)據(jù)輸入。 2. 定義: MFC (Microsoft Foundation Classes): 是一個(gè) 微軟公司 提供的類庫(kù)( class libraries),以 C++類的形式封裝了 Windows 的 API,并且包含一個(gè) 應(yīng)用程序 框架,以減少 應(yīng)用程序開(kāi) 發(fā) 人員的工作量。上面為 DVD 文件的播放菜單, DVD 文件是用轉(zhuǎn)換工具轉(zhuǎn)換的 DVD 整個(gè)光碟,由于轉(zhuǎn)換的速度較慢,且轉(zhuǎn)換后文件較大,一個(gè)大約 6G,一個(gè)大約 2G,轉(zhuǎn)換時(shí)間周期較長(zhǎng),用晚上轉(zhuǎn)換的。 CButton m_Slow。 int k。 afx_msg void OnBUTTOPlay()。 SmallPlayer smallplayer。 ( 3) 類 3: class SmallPlayer : public CDialog { public: SmallPlayer(CWnd* pParent = NULL)。 protected: virtual void DoDataExchange(CDataExchange* pDX)。 DECLARE_MESSAGE_MAP() 說(shuō)明 protected 是 windows 機(jī)制的消息函數(shù)。然后顯示窗體。 // standard constructor // Dialog Data //{{AFX_DATA(CAaDlg) enum { IDD = IDD_AA_DIALOG }。 CWMPPlayer4 m_WMPlayer。 afx_msg void OnPaint()。 文件 include include include ifdef _DEBUG define new DEBUG_NEW undef THIS_FILE static char THIS_FILE[] = __FILE__。 DDX_Control(pDX, IDC_BUTTOSlow, m_Slow)。 // Add About... menu item to system menu. // IDM_ABOUTBOX must be in the system mand range. ASSERT((IDM_ABOUTBOX amp。 } } // Set the icon for this dialog. The framework does this automatically // when the application39。 int y = (() cyIcon + 1) / 2。 // (fileName)。 } } BOOL CAaDlg::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class CRect Rt1。*.rmi)|*.mid。 } void CAaDlg::OnBUTTONStop() { // TODO: Add your control notification handler code here ()。 CListBox m_list。 afx_msg void OnButton5()。 // // return true。 //().play()。 ::GetWindowRect(GetDlgItem(IDC_BUTTON3)GetSafeHwnd(),amp。 } } // // { // pMsgmessage==WM_LBUTTONDOWN。 //AfxMessageBox(_T(右鍵單擊 )) } if (PtInRect(amp。 ::GetWindowRect(GetDlgItem(IDC_BUTTON1)GetSafeHwnd(),amp。 } else return 0。 (p,fileName)。 (p,fileName)。r2,pt)) { MessageBox(((CAaApp *)AfxGetApp())str2)。 (nIndex,PathName)。 } BOOL Dlg1::OnCommand(WPARAM wParam, LPARAM lParam) { // TODO: Add your specialized code here and/or call the base class UINT uMsg=LOWORD(wParam)。 //ClientToScreen(amp。 ::GetCursorPos(amp。 POINT pt。 p=0。 DDX_Control(pDX, IDC_BUTTON4, m_btn4)。 protected: virtual void DoDataExchange(CDataExchange* pDX)。 (tr)。 int nState = this(nIndex)。 pPopupTrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON,this)。 } void CAaDlg::OnBUTTONJIeKou() { // TODO: Add your control notification handler code here if(t) { t=0。 ()。 // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON)。 // a2=TRUE。 k=0。 //{{AFX_DATA_MAP(CAaDlg) DDX_Control(pDX, IDC_LIST1, m_list)。 afx_msg void OnBUTTONStop()。 //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_V
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1