#ifndef	__IconWnd_H__
#define __IconWnd_H__

#include <afxwin.h>

#define	IDC_ANIMATED	10001
#define IDC_FULLDRAG	10002
#define IDC_ABOUT		10003
#define IDT_POPUP		10004
#define IDT_CLOSE		10005
#define IDC_APPHELP		10006
#define IDC_CLRDOCS		10007

//	************************************************************
//	CIconWnd Class Declaration
//	************************************************************
class	CIconWnd : public CFrameWnd
{
public:
	CIconWnd();
	~CIconWnd();

	afx_msg	void	OnDestroy();
	afx_msg	LONG	OnNotifyIcon(WPARAM wParam, LPARAM lparam);
	afx_msg	void	OnAnimated();
	afx_msg	void	OnFullDrag();
	afx_msg	void	OnClearDocs();
	afx_msg	void	OnAbout();
	afx_msg	void	OnHelp();
	afx_msg	void	OnTimer(UINT nIDEvent);
	afx_msg	void	OnWinIniChange(LPCTSTR lpszSection);
			
	BOOL	m_InitIcon();
	
private:
	
protected:
	UINT	m_Timer;
	BOOL	m_bFullDrag;
	BOOL	m_bAnimated;
	BOOL	m_bExtension1;

	void	m_Fetch();
	void	m_UpdateIconTip();

	DECLARE_MESSAGE_MAP()
};

#endif
