00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_WND_FDMGETCUSTVER_BTN_H__9F5E62B7_7B56_4A19_A96E_A676E4B9FF37__INCLUDED_) 00007 #define AFX_WND_FDMGETCUSTVER_BTN_H__9F5E62B7_7B56_4A19_A96E_A676E4B9FF37__INCLUDED_ 00008 00009 #include "fsODMenu.h" 00010 #if _MSC_VER > 1000 00011 #pragma once 00012 #endif 00013 00014 class CWnd_FDMGetCustVer_Btn : public CWnd 00015 { 00016 00017 public: 00018 CWnd_FDMGetCustVer_Btn(); 00019 00020 public: 00021 00022 public: 00023 00024 //{{AFX_VIRTUAL(CWnd_FDMGetCustVer_Btn) 00025 //}}AFX_VIRTUAL 00026 00027 public: 00028 void set_AffiliateID (DWORD dwID); 00029 BOOL Create (CWnd* pwndParent); 00030 virtual ~CWnd_FDMGetCustVer_Btn(); 00031 00032 protected: 00033 fsODMenu m_odmenu; 00034 00035 BOOL is_BtnCanBeMultiline(); 00036 int m_AffiliateID; 00037 00038 BOOL is_TextMultiline(); 00039 CRect m_rcText; 00040 00041 void CalculateTextRect(); 00042 CFont m_fntText; 00043 CString m_strBtnText; 00044 CString m_strBtnURL; 00045 CBitmap m_bmBtn; 00046 //{{AFX_MSG(CWnd_FDMGetCustVer_Btn) 00047 afx_msg void OnPaint(); 00048 afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 00049 afx_msg void OnRButtonUp(UINT nFlags, CPoint point); 00050 afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); 00051 afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct); 00052 afx_msg void OnHide(); 00053 //}}AFX_MSG 00054 DECLARE_MESSAGE_MAP() 00055 }; 00056 00057 //{{AFX_INSERT_LOCATION}//}} 00058 00059 #endif
1.5.6