www.pudn.com > DlgScrSaver.rar > drawwnd.h, change:1998-05-21,size:1695b


// drawwnd.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CDrawWnd window 
 
class CDrawWnd : public CWnd 
{ 
// Construction 
public: 
	CDrawWnd(BOOL bAutoDelete = TRUE); 
 
// Attributes 
public: 
	CString BitmapPath; 
	CCollection BitmapList; 
 
	CRgn m_rgnLast; 
	long m_nCounter; 
	int m_nWidth; 
	int m_nSteps; 
	int m_nPos; 
	int m_nStep; 
	int m_nScale; 
	int m_nHeight; 
	int m_nStyle; 
	UINT m_nTimerID; 
	LOGBRUSH m_logbrush; 
	LOGBRUSH m_logbrushBlack; 
	static LPCTSTR m_lpszClassName; 
	void SetSpeed(int nSpeed); 
	//void SetResolution(int nRes); 
	//void SetColor(COLORREF cr); 
	//void SetPenWidth(int nWidth); 
	//void SetLineStyle(int nStyle); 
 
// Operations 
public: 
	//void DrawLetter(CDC& dc, CPoint pt, int p1[][3], int p2[][3], int nLen); 
	void SearchFiles(const char* BitmapPath, const char* filter); 
	void Draw(CDC& dc, int nWidth); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDrawWnd) 
	public: 
	virtual BOOL Create(DWORD dwExStyle, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); 
	protected: 
	virtual void PostNcDestroy(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CDrawWnd(); 
 
protected: 
	BOOL m_bAutoDelete; 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CDrawWnd) 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnPaint(); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
/////////////////////////////////////////////////////////////////////////////