CWnd_FDMGetCustVer_Btn Class Reference

#include <Wnd_FDMGetCustVer_Btn.h>

List of all members.

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


Detailed Description

Definition at line 14 of file Wnd_FDMGetCustVer_Btn.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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  ) 

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]

void CWnd_FDMGetCustVer_Btn::OnPaint (  )  [protected]

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]

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().


Member Data Documentation

Definition at line 33 of file Wnd_FDMGetCustVer_Btn.h.

Referenced by OnDrawItem(), OnMeasureItem(), and OnRButtonUp().

Definition at line 36 of file Wnd_FDMGetCustVer_Btn.h.

Referenced by CWnd_FDMGetCustVer_Btn(), OnLButtonUp(), and set_AffiliateID().

Definition at line 39 of file Wnd_FDMGetCustVer_Btn.h.

Referenced by CalculateTextRect(), Create(), and OnPaint().

Definition at line 42 of file Wnd_FDMGetCustVer_Btn.h.

Referenced by CalculateTextRect(), Create(), and OnPaint().

Definition at line 44 of file Wnd_FDMGetCustVer_Btn.h.

Referenced by CWnd_FDMGetCustVer_Btn(), and OnLButtonUp().

CBitmap CWnd_FDMGetCustVer_Btn::m_bmBtn [protected]

Definition at line 45 of file Wnd_FDMGetCustVer_Btn.h.

Referenced by Create(), and OnPaint().


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

Generated on Sun May 25 00:20:58 2008 by  doxygen 1.5.6