NewScrdefDlg.h
资源名称:NewScrdef.rar [点击查看]
上传用户:sunbbj
上传日期:2013-03-21
资源大小:111k
文件大小:2k
源码类别:
屏幕保护
开发平台:
Visual C++
- // NewScrdefDlg.h : header file
- //
- #if !defined(AFX_NEWSCRDEFDLG_H__126F654F_2198_4FFD_B6A2_7CE189035474__INCLUDED_)
- #define AFX_NEWSCRDEFDLG_H__126F654F_2198_4FFD_B6A2_7CE189035474__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CNewScrdefDlg dialog
- class CNewScrdefDlg : public CDialog
- {
- // Construction
- public:
- void CreateFont();
- CNewScrdefDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CNewScrdefDlg)
- enum { IDD = IDD_NEWSCRDEF_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CNewScrdefDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- private:
- void Render();
- void DrawWant();
- protected:
- HICON m_hIcon;
- CDC* m_pMemDC;
- CDC* m_pMemDCLittleGirl;
- CDC* m_pDC;
- CBitmap* m_pMemBitmap;
- CPen* m_pPen;
- CBitmap m_bitmapLittleGirl;
- CSize m_szBitmapLittleGirl;
- int m_nGirlPosX;
- BOOL m_bAgument;
- POINT m_ptArray[360];
- CStdioFile m_stFile;
- BOOL m_bStFileCanRead;
- CFont* m_pFont;
- CString m_strRead;
- // Generated message map functions
- //{{AFX_MSG(CNewScrdefDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnDestroy();
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void Init();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_NEWSCRDEFDLG_H__126F654F_2198_4FFD_B6A2_7CE189035474__INCLUDED_)