#include <Wnd_FDMGetCustVer_Btn.h>
Public Member Functions | |
| CWnd_FDMGetCustVer_Btn () | |
| void | set_AffiliateID (DWORD dwID) |
| BOOL | Create (CWnd *pwndParent) |
| virtual | ~CWnd_FDMGetCustVer_Btn () |
Protected Member Functions | |
| BOOL | is_BtnCanBeMultiline () |
| BOOL | is_TextMultiline () |
| void | CalculateTextRect () |
| afx_msg void | OnPaint () |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
| afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
| afx_msg void | OnHide () |
Protected Attributes | |
| fsODMenu | m_odmenu |
| int | m_AffiliateID |
| CRect | m_rcText |
| CFont | m_fntText |
| CString | m_strBtnText |
| CString | m_strBtnURL |
| CBitmap | m_bmBtn |
Definition at line 14 of file Wnd_FDMGetCustVer_Btn.h.
| CWnd_FDMGetCustVer_Btn::CWnd_FDMGetCustVer_Btn | ( | ) |
Definition at line 16 of file Wnd_FDMGetCustVer_Btn.cpp.
References m_AffiliateID, m_strBtnText, and m_strBtnURL.
| CWnd_FDMGetCustVer_Btn::~CWnd_FDMGetCustVer_Btn | ( | ) | [virtual] |
Definition at line 49 of file Wnd_FDMGetCustVer_Btn.cpp.
| void CWnd_FDMGetCustVer_Btn::set_AffiliateID | ( | DWORD | dwID | ) |
Definition at line 215 of file Wnd_FDMGetCustVer_Btn.cpp.
References m_AffiliateID.
Referenced by CMainFrame::OnCreate().
| BOOL CWnd_FDMGetCustVer_Btn::Create | ( | CWnd * | pwndParent | ) |
Definition at line 68 of file Wnd_FDMGetCustVer_Btn.cpp.
References _TB_SIZE_Y, CalculateTextRect(), FALSE, GCVB_MIN_HEIGHT, IDB_FDM_GETCVER_BTN, IDC_HAND_, is_BtnCanBeMultiline(), m_bmBtn, m_fntText, m_rcText, m_strBtnText, NULL, and TRUE.
Referenced by CMainFrame::OnCreate().
| BOOL CWnd_FDMGetCustVer_Btn::is_BtnCanBeMultiline | ( | ) | [protected] |
Definition at line 220 of file Wnd_FDMGetCustVer_Btn.cpp.
References _TB_SIZE_Y, and GCVB_MLINE_MIN_HEIGHT.
Referenced by CalculateTextRect(), and Create().
| BOOL CWnd_FDMGetCustVer_Btn::is_TextMultiline | ( | ) | [protected] |
Definition at line 210 of file Wnd_FDMGetCustVer_Btn.cpp.
References m_strBtnText.
Referenced by CalculateTextRect().
| void CWnd_FDMGetCustVer_Btn::CalculateTextRect | ( | ) | [protected] |
Definition at line 134 of file Wnd_FDMGetCustVer_Btn.cpp.
References FALSE, is_BtnCanBeMultiline(), is_TextMultiline(), m_fntText, m_rcText, m_strBtnText, and simple_client::s.
Referenced by Create().
| void CWnd_FDMGetCustVer_Btn::OnPaint | ( | ) | [protected] |
Definition at line 91 of file Wnd_FDMGetCustVer_Btn.cpp.
References _TB_SIZE_Y, GCVB_MIN_HEIGHT, m_bmBtn, m_fntText, m_rcText, and m_strBtnText.
| void CWnd_FDMGetCustVer_Btn::OnLButtonUp | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 225 of file Wnd_FDMGetCustVer_Btn.cpp.
References fsOpenUrlInBrowser(), m_AffiliateID, and m_strBtnURL.
| void CWnd_FDMGetCustVer_Btn::OnRButtonUp | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 234 of file Wnd_FDMGetCustVer_Btn.cpp.
References fsODMenu::Attach(), fsODMenu::Detach(), FALSE, IDM_GCV_BUTTON, L_HIDE, LS, and m_odmenu.
| void CWnd_FDMGetCustVer_Btn::OnDrawItem | ( | int | nIDCtl, | |
| LPDRAWITEMSTRUCT | lpDrawItemStruct | |||
| ) | [protected] |
Definition at line 255 of file Wnd_FDMGetCustVer_Btn.cpp.
References m_odmenu, and fsODMenu::OnDrawItem().
| void CWnd_FDMGetCustVer_Btn::OnMeasureItem | ( | int | nIDCtl, | |
| LPMEASUREITEMSTRUCT | lpMeasureItemStruct | |||
| ) | [protected] |
Definition at line 260 of file Wnd_FDMGetCustVer_Btn.cpp.
References m_odmenu, and fsODMenu::OnMeasureItem().
| void CWnd_FDMGetCustVer_Btn::OnHide | ( | ) | [protected] |
Definition at line 265 of file Wnd_FDMGetCustVer_Btn.cpp.
References _App, FALSE, and fsAppSettings::View_GCVButton().
fsODMenu CWnd_FDMGetCustVer_Btn::m_odmenu [protected] |
Definition at line 33 of file Wnd_FDMGetCustVer_Btn.h.
Referenced by OnDrawItem(), OnMeasureItem(), and OnRButtonUp().
int CWnd_FDMGetCustVer_Btn::m_AffiliateID [protected] |
Definition at line 36 of file Wnd_FDMGetCustVer_Btn.h.
Referenced by CWnd_FDMGetCustVer_Btn(), OnLButtonUp(), and set_AffiliateID().
CRect CWnd_FDMGetCustVer_Btn::m_rcText [protected] |
Definition at line 39 of file Wnd_FDMGetCustVer_Btn.h.
Referenced by CalculateTextRect(), Create(), and OnPaint().
CFont CWnd_FDMGetCustVer_Btn::m_fntText [protected] |
Definition at line 42 of file Wnd_FDMGetCustVer_Btn.h.
Referenced by CalculateTextRect(), Create(), and OnPaint().
CString CWnd_FDMGetCustVer_Btn::m_strBtnText [protected] |
Definition at line 43 of file Wnd_FDMGetCustVer_Btn.h.
Referenced by CalculateTextRect(), Create(), CWnd_FDMGetCustVer_Btn(), is_TextMultiline(), and OnPaint().
CString CWnd_FDMGetCustVer_Btn::m_strBtnURL [protected] |
Definition at line 44 of file Wnd_FDMGetCustVer_Btn.h.
Referenced by CWnd_FDMGetCustVer_Btn(), and OnLButtonUp().
CBitmap CWnd_FDMGetCustVer_Btn::m_bmBtn [protected] |
1.5.6