TRAYNOT.h 645 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
// CTrayNot window
#ifndef _CTRAYNOT
#define _CTRAYNOT

class CTrayNot : public CObject
{
// Construction
public:
	CTrayNot ( CWnd* pWnd, UINT uCallbackMessage,
				  LPCTSTR szTip, HICON* pList ) ;

// Attributes
public:
	BOOL			m_bEnabled ;	
	NOTIFYICONDATA	m_tnd ;
	HICON*			m_pIconList ;


public:
	void SetState ( int id = 0 ) ;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTrayNot)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTrayNot();
	void SetTIP(char *pTip);

};

/////////////////////////////////////////////////////////////////////////////
#endif