📄 ddraw02dlg.h
字号:
// DDraw02Dlg.h : header file
//
#if !defined(AFX_DDRAW02DLG_H__F2B6F5C9_A24B_11D3_B6EE_0000215A0000__INCLUDED_)
#define AFX_DDRAW02DLG_H__F2B6F5C9_A24B_11D3_B6EE_0000215A0000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Inserted code begin
#include "ddraw.h"
// Inserted code end
/////////////////////////////////////////////////////////////////////////////
// CDDraw02Dlg dialog
class CDDraw02Dlg : public CDialog
{
// Construction
public:
CDDraw02Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDDraw02Dlg)
enum { IDD = IDD_DDRAW02_DIALOG };
CButton m_ctlButtonSetModes;
CButton m_ctlButtonEnumerateModes;
CListBox m_ctlListBoxModes;
CComboBox m_ctlComboBoxDevice;
int m_nDevice;
CString m_strModes;
//}}AFX_DATA
// Inserted code begin
LPDIRECTDRAW m_pDD; // DirectDraw object.
LPDIRECTDRAW2 m_pDD2; // DirectDraw2 object.
// Inserted code end
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDDraw02Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Inserted code begin
public:
void DestroyDirectDrawObjects();
// Inserted code end
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDDraw02Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnEnumerateModes();
afx_msg void OnSetModes();
afx_msg void OnDeleteItem(int nIDCtl, LPDELETEITEMSTRUCT lpDeleteItemStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DDRAW02DLG_H__F2B6F5C9_A24B_11D3_B6EE_0000215A0000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -