#include <fsTrayIconMgr.h>
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 |
Definition at line 13 of file fsTrayIconMgr.h.
| 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] |
| BOOL fsTrayIconMgr::Create | ( | HWND | hWnd, | |
| UINT * | pIcons, | |||
| UINT | cIcons, | |||
| LPCSTR | pszTooltip, | |||
| UINT | uCallbackMsg | |||
| ) |
Definition at line 30 of file fsTrayIconMgr.cpp.
References InitializeTrayIcon(), LoadIcons(), m_hWnd, m_strTip, and m_uCallbackMsg.
Referenced by CMainFrame::OnCreate(), and CWebInterfaceDlg::OnInitDialog().
| 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 | ) |
Definition at line 63 of file fsTrayIconMgr.cpp.
References FALSE, m_cbNIDSize, m_hWnd, m_iCurIconIndex, m_nID, m_pIcons, and NULL.
Referenced by TestIcon(), and CDownloadsWnd::UpdateTrayIconPlusOthers().
| 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().
| 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 | |||
| ) |
| BOOL fsTrayIconMgr::InitializeTrayIcon | ( | ) | [protected] |
UINT fsTrayIconMgr::m_cbNIDSize [protected] |
Definition at line 31 of file fsTrayIconMgr.h.
Referenced by fsTrayIconMgr(), InitializeTrayIcon(), Remove(), ShowBalloon(), and ShowIcon().
int fsTrayIconMgr::m_iCurIconIndex [protected] |
Definition at line 32 of file fsTrayIconMgr.h.
Referenced by fsTrayIconMgr(), ShowIcon(), and TestIcon().
fsString fsTrayIconMgr::m_strTip [protected] |
UINT fsTrayIconMgr::m_uCallbackMsg [protected] |
UINT fsTrayIconMgr::m_nID [protected] |
Definition at line 35 of file fsTrayIconMgr.h.
Referenced by InitializeTrayIcon(), Remove(), ShowBalloon(), and ShowIcon().
UINT fsTrayIconMgr::m_cIcons [protected] |
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().
1.5.6