#include <FloatingWnd.h>
Public Member Functions | |
| CFloatingWnd () | |
| void | HideAlways () |
| void | SetBlend (BYTE val) |
| void | UpdateTimer () |
| void | Show (BOOL bShow, BOOL bByUser=TRUE) |
| void | SaveState () |
| BOOL | Create () |
| virtual | ~CFloatingWnd () |
Protected Member Functions | |
| void | ShowTip () |
| afx_msg UINT | OnNcHitTest (CPoint point) |
| afx_msg void | OnPaint () |
| afx_msg void | OnNcRButtonUp (UINT nHitTest, CPoint point) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnNcLButtonDblClk (UINT nHitTest, CPoint point) |
| afx_msg void | OnClose () |
| afx_msg void | OnTimer (UINT nIDEvent) |
| afx_msg void | OnMoving (UINT fwSide, LPRECT pRect) |
Protected Attributes | |
| BOOL | m_bHideAlways |
| CXInfoTip | m_wndTip |
| BOOL | m_bShown |
| BOOL | m_bTimerSet |
| CFloatingWndDropTarget | m_drop |
| BYTE | m_blend |
| HICON | m_hLogoIcon |
| class CMainFrame * | m_pMainFrame |
Definition at line 15 of file FloatingWnd.h.
| CFloatingWnd::CFloatingWnd | ( | ) |
Definition at line 18 of file FloatingWnd.cpp.
References FALSE, m_bHideAlways, m_bShown, and m_bTimerSet.
| CFloatingWnd::~CFloatingWnd | ( | ) | [virtual] |
Definition at line 25 of file FloatingWnd.cpp.
| void CFloatingWnd::HideAlways | ( | ) |
Definition at line 218 of file FloatingWnd.cpp.
References FALSE, m_bHideAlways, Show(), and TRUE.
Referenced by CMainFrame::OnClose().
| void CFloatingWnd::SetBlend | ( | BYTE | val | ) |
Definition at line 211 of file FloatingWnd.cpp.
References fsSetLayeredWindowAttributes(), fsSysGetOsMajorVersion(), LWA_ALPHA, and m_blend.
Referenced by Create(), CPrg_GeneralPage::OnApply(), CPrg_GeneralPage_FWDlg::OnCancel(), CPrg_GeneralPage::OnCancel(), and CPrg_GeneralPage_FWDlg::OnCustomdrawTrancparency1().
| void CFloatingWnd::UpdateTimer | ( | ) |
Definition at line 175 of file FloatingWnd.cpp.
References _App, BOOL, FALSE, fsAppSettings::FloatingWndsHideInFSMode(), m_bHideAlways, m_bShown, m_bTimerSet, NULL, and fsAppSettings::View_FloatingWindow().
Referenced by Create(), CPrg_GeneralPage::OnApply(), and Show().
| void CFloatingWnd::Show | ( | BOOL | bShow, | |
| BOOL | bByUser = TRUE | |||
| ) |
Definition at line 155 of file FloatingWnd.cpp.
References _App, FALSE, CXInfoTip::Hide(), m_bHideAlways, m_bShown, m_wndTip, UpdateTimer(), and fsAppSettings::View_FloatingWindow().
Referenced by Create(), HideAlways(), CPrg_GeneralPage::OnApply(), CMainFrame::OnDropBox(), and OnTimer().
| void CFloatingWnd::SaveState | ( | ) |
Definition at line 90 of file FloatingWnd.cpp.
References _App, and fsAppSettings::View_SaveWndPlacement().
Referenced by CMainFrame::SaveState().
| BOOL CFloatingWnd::Create | ( | ) |
Definition at line 42 of file FloatingWnd.cpp.
References _App, fsAppSettings::DropBoxWndBlend(), FALSE, fsSysGetOsMajorVersion(), IDI_LOGO2, m_hLogoIcon, m_pMainFrame, NULL, SetBlend(), Show(), SICOEX, TRUE, UpdateTimer(), fsAppSettings::View_FloatingWindow(), fsAppSettings::View_ReadWndPlacement(), and WS_EX_LAYERED.
Referenced by CFloatingWndsThread::InitInstance().
| void CFloatingWnd::ShowTip | ( | ) | [protected] |
Definition at line 188 of file FloatingWnd.cpp.
References CXInfoTip::Create(), L_DROPBOXINTRO, L_FDMDROPBOX, LS, m_wndTip, NULL, CXInfoTip::SetAutohideDelay(), CXInfoTip::SetIcon(), CXInfoTip::SetShowDelay(), CXInfoTip::Show(), and TRUE.
Referenced by OnTimer().
| UINT CFloatingWnd::OnNcHitTest | ( | CPoint | point | ) | [protected] |
Definition at line 73 of file FloatingWnd.cpp.
| void CFloatingWnd::OnPaint | ( | ) | [protected] |
| void CFloatingWnd::OnNcRButtonUp | ( | UINT | nHitTest, | |
| CPoint | point | |||
| ) | [protected] |
| int CFloatingWnd::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
| void CFloatingWnd::OnNcLButtonDblClk | ( | UINT | nHitTest, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 111 of file FloatingWnd.cpp.
References m_pMainFrame, and CMainFrame::OnShowmainwindow().
| void CFloatingWnd::OnClose | ( | ) | [protected] |
Definition at line 121 of file FloatingWnd.cpp.
References _App, FALSE, CXInfoTip::Hide(), m_wndTip, and fsAppSettings::View_FloatingWindow().
| void CFloatingWnd::OnTimer | ( | UINT | nIDEvent | ) | [protected] |
Definition at line 131 of file FloatingWnd.cpp.
References _App, BOOL, FALSE, fsIsSystemInFullScreenMode(), IS_PORTABLE_MODE, m_bShown, m_bTimerSet, Show(), ShowTip(), TRUE, and fsAppSettings::View_DropBoxIntro().
| void CFloatingWnd::OnMoving | ( | UINT | fwSide, | |
| LPRECT | pRect | |||
| ) | [protected] |
BOOL CFloatingWnd::m_bHideAlways [protected] |
Definition at line 39 of file FloatingWnd.h.
Referenced by CFloatingWnd(), HideAlways(), Show(), and UpdateTimer().
CXInfoTip CFloatingWnd::m_wndTip [protected] |
Definition at line 42 of file FloatingWnd.h.
Referenced by OnClose(), OnMoving(), Show(), and ShowTip().
BOOL CFloatingWnd::m_bShown [protected] |
Definition at line 43 of file FloatingWnd.h.
Referenced by CFloatingWnd(), OnTimer(), Show(), and UpdateTimer().
BOOL CFloatingWnd::m_bTimerSet [protected] |
Definition at line 44 of file FloatingWnd.h.
Referenced by CFloatingWnd(), OnTimer(), and UpdateTimer().
CFloatingWndDropTarget CFloatingWnd::m_drop [protected] |
BYTE CFloatingWnd::m_blend [protected] |
HICON CFloatingWnd::m_hLogoIcon [protected] |
class CMainFrame* CFloatingWnd::m_pMainFrame [protected] |
Definition at line 48 of file FloatingWnd.h.
Referenced by Create(), OnNcLButtonDblClk(), and OnNcRButtonUp().
1.5.6