fsTrayIconMgr Class Reference

#include <fsTrayIconMgr.h>

List of all members.

Public Member Functions

BOOL Create (HWND hWnd, UINT *pIcons, UINT cIcons, LPCSTR pszTooltip, UINT uCallbackMsg)
void TestIcon ()
BOOL ShowIcon (int iIndex)
void Remove ()
BOOL ShowBalloon (LPCSTR pszInfo, LPCSTR pszInfoTitle, DWORD dwNiifIcon=NIIF_INFO)
 fsTrayIconMgr ()
virtual ~fsTrayIconMgr ()
BOOL Create (HWND hWnd, UINT *pIcons, UINT cIcons, LPCSTR pszTooltip, UINT uCallbackMsg)
void TestIcon ()
BOOL ShowIcon (int iIndex)
void Remove ()
BOOL ShowBalloon (LPCSTR pszInfo, LPCSTR pszInfoTitle, DWORD dwNiifIcon=NIIF_INFO)
 fsTrayIconMgr ()
virtual ~fsTrayIconMgr ()

Protected Member Functions

void LoadIcons (UINT *pIcons, UINT cIcons)
BOOL InitializeTrayIcon ()
void LoadIcons (UINT *pIcons, UINT cIcons)
BOOL InitializeTrayIcon ()

Protected Attributes

UINT m_cbNIDSize
int m_iCurIconIndex
fsString m_strTip
UINT m_uCallbackMsg
UINT m_nID
UINT m_cIcons
HICON * m_pIcons
HWND m_hWnd


Detailed Description

Definition at line 13 of file fsTrayIconMgr.h.


Constructor & Destructor Documentation

fsTrayIconMgr::fsTrayIconMgr (  ) 

Definition at line 17 of file fsTrayIconMgr.cpp.

References GetShell32Version(), m_cbNIDSize, m_iCurIconIndex, m_pIcons, and NULL.

fsTrayIconMgr::~fsTrayIconMgr (  )  [virtual]

Definition at line 25 of file fsTrayIconMgr.cpp.

fsTrayIconMgr::fsTrayIconMgr (  ) 

virtual fsTrayIconMgr::~fsTrayIconMgr (  )  [virtual]


Member Function Documentation

BOOL fsTrayIconMgr::Create ( HWND  hWnd,
UINT pIcons,
UINT  cIcons,
LPCSTR  pszTooltip,
UINT  uCallbackMsg 
)

void fsTrayIconMgr::TestIcon (  ) 

Definition at line 94 of file fsTrayIconMgr.cpp.

References FALSE, InitializeTrayIcon(), m_iCurIconIndex, and ShowIcon().

Referenced by CMainFrame::WindowProc().

BOOL fsTrayIconMgr::ShowIcon ( int  iIndex  ) 

void fsTrayIconMgr::Remove (  ) 

Definition at line 52 of file fsTrayIconMgr.cpp.

References m_cbNIDSize, m_hWnd, and m_nID.

Referenced by fsOnMemoryError(), CMainFrame::OnClose(), and CWebInterfaceDlg::OnDestroy().

BOOL fsTrayIconMgr::ShowBalloon ( LPCSTR  pszInfo,
LPCSTR  pszInfoTitle,
DWORD  dwNiifIcon = NIIF_INFO 
)

Definition at line 103 of file fsTrayIconMgr.cpp.

References FALSE, GetShell32Version(), m_cbNIDSize, m_hWnd, and m_nID.

Referenced by CMainFrame::HideBalloon(), and CMainFrame::ShowBalloon().

void fsTrayIconMgr::LoadIcons ( UINT pIcons,
UINT  cIcons 
) [protected]

Definition at line 40 of file fsTrayIconMgr.cpp.

References fsnew, m_cIcons, m_pIcons, and SICOEX.

Referenced by Create().

BOOL fsTrayIconMgr::InitializeTrayIcon (  )  [protected]

Definition at line 79 of file fsTrayIconMgr.cpp.

References m_cbNIDSize, m_hWnd, m_nID, m_pIcons, m_strTip, and m_uCallbackMsg.

Referenced by Create(), and TestIcon().

BOOL fsTrayIconMgr::Create ( HWND  hWnd,
UINT pIcons,
UINT  cIcons,
LPCSTR  pszTooltip,
UINT  uCallbackMsg 
)

void fsTrayIconMgr::TestIcon (  ) 

BOOL fsTrayIconMgr::ShowIcon ( int  iIndex  ) 

void fsTrayIconMgr::Remove (  ) 

BOOL fsTrayIconMgr::ShowBalloon ( LPCSTR  pszInfo,
LPCSTR  pszInfoTitle,
DWORD  dwNiifIcon = NIIF_INFO 
)

void fsTrayIconMgr::LoadIcons ( UINT pIcons,
UINT  cIcons 
) [protected]

BOOL fsTrayIconMgr::InitializeTrayIcon (  )  [protected]


Member Data Documentation

Definition at line 31 of file fsTrayIconMgr.h.

Referenced by fsTrayIconMgr(), InitializeTrayIcon(), Remove(), ShowBalloon(), and ShowIcon().

Definition at line 32 of file fsTrayIconMgr.h.

Referenced by fsTrayIconMgr(), ShowIcon(), and TestIcon().

Definition at line 33 of file fsTrayIconMgr.h.

Referenced by Create(), and InitializeTrayIcon().

Definition at line 34 of file fsTrayIconMgr.h.

Referenced by Create(), and InitializeTrayIcon().

Definition at line 35 of file fsTrayIconMgr.h.

Referenced by InitializeTrayIcon(), Remove(), ShowBalloon(), and ShowIcon().

Definition at line 41 of file fsTrayIconMgr.h.

Referenced by LoadIcons().

HICON * fsTrayIconMgr::m_pIcons [protected]

Definition at line 42 of file fsTrayIconMgr.h.

Referenced by fsTrayIconMgr(), InitializeTrayIcon(), LoadIcons(), and ShowIcon().

HWND fsTrayIconMgr::m_hWnd [protected]

Definition at line 43 of file fsTrayIconMgr.h.

Referenced by Create(), InitializeTrayIcon(), Remove(), ShowBalloon(), and ShowIcon().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:21:10 2008 by  doxygen 1.5.6