www.pudn.com > skinscrollbar_demo.zip > skinscrollwnd.h, change:2006-12-22,size:1814b


#if !defined(AFX_SKINSCROLLWND_H__891A5F44_7A55_46DF_8BD7_9C454283CE40__INCLUDED_) 
#define AFX_SKINSCROLLWND_H__891A5F44_7A55_46DF_8BD7_9C454283CE40__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// SkinScrollWnd.h : header file 
// 
#include "SkinScrollBar.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CSkinScrollWnd window 
 
class CSkinScrollWnd : public CWnd 
{ 
// Construction 
public: 
	CSkinScrollWnd(); 
 
// Attributes 
public: 
	int			m_nScrollWid; 
	CSkinScrollBar	m_sbHorz,m_sbVert; 
	CWnd		m_wndLimit; 
	HBITMAP		m_hBmpScroll; 
	BOOL		m_bOp; 
	int			m_nAngleType; 
// Operations 
public: 
	WNDPROC		m_funOldProc; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSkinScrollWnd) 
	protected: 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL SkinWindow(CWnd *pWnd,HBITMAP hBmpScroll); 
	virtual ~CSkinScrollWnd(); 
 
	// Generated message map functions 
protected: 
	afx_msg LRESULT OnDestMove(WPARAM wParam,LPARAM lParam); 
	//{{AFX_MSG(CSkinScrollWnd) 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	afx_msg void OnPaint(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
extern "C" BOOL UnskinWndScroll(CWnd *pWnd); 
 
extern "C" CSkinScrollWnd* SkinWndScroll(CWnd *pWnd,HBITMAP hBmpScroll); 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SKINSCROLLWND_H__891A5F44_7A55_46DF_8BD7_9C454283CE40__INCLUDED_)