📄 动画dlg.h
字号:
// 动画Dlg.h : header file
//
#if !defined(AFX_DLG_H__94D2C5CD_0D34_4BE2_970D_AF47258C47C6__INCLUDED_)
#define AFX_DLG_H__94D2C5CD_0D34_4BE2_970D_AF47258C47C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
class CMyDlg : public CDialog
{
// Construction
public:
int t;
CPoint point1;
int i;
void show();
CBitmap person [5];
int id[5];
int type;
BITMAP bm;
CBitmap button;
CBitmap slide;
CBitmap*oldbitmap;
CDC memDC;
CDC*pDC;
CBitmap back;
HBRUSH B ;
UINT timer;
bool right;
CBitmap bmp;
CBitmap bmp2;
CBitmap bmpback;
CBitmap bmpback2;
CPoint point;
CMyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CSliderCtrl m_slide;
int m_slidecounter;
int m_type;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void Onstart();
afx_msg void OnClose();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnRadio3();
afx_msg void OnRadio4();
afx_msg void OnRadio5();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__94D2C5CD_0D34_4BE2_970D_AF47258C47C6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -