CWnd_Banner Class Reference

#include <Wnd_Banner.h>

List of all members.

Public Member Functions

 CWnd_Banner ()
void Shutdown ()
void SetBanner (LPCSTR pszFile, LPCSTR pszURL)
BOOL Create (CWnd *pWndParent, int cy)
virtual ~CWnd_Banner ()

Protected Member Functions

void Initialize ()
afx_msg void OnPaint ()
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)

Static Protected Member Functions

static DWORD WINAPI _threadImage (LPVOID lp)

Protected Attributes

int m_iCurrentFrame
BOOL m_bRunning
HDC m_hDCNow
CString m_strImgFile
volatile DWORD m_dwThrJob
CString m_strURL
vmsImage_CtxFree m_img


Detailed Description

Definition at line 14 of file Wnd_Banner.h.


Constructor & Destructor Documentation

CWnd_Banner::CWnd_Banner (  ) 

Definition at line 22 of file Wnd_Banner.cpp.

References FALSE, m_bRunning, and m_dwThrJob.

CWnd_Banner::~CWnd_Banner (  )  [virtual]

Definition at line 28 of file Wnd_Banner.cpp.

References Shutdown().


Member Function Documentation

void CWnd_Banner::Shutdown (  ) 

Definition at line 166 of file Wnd_Banner.cpp.

References IMGT_EXIT, m_bRunning, and m_dwThrJob.

Referenced by ~CWnd_Banner().

void CWnd_Banner::SetBanner ( LPCSTR  pszFile,
LPCSTR  pszURL 
)

BOOL CWnd_Banner::Create ( CWnd *  pWndParent,
int  cy 
)

Definition at line 42 of file Wnd_Banner.cpp.

References IDC_HAND_, Initialize(), NULL, and TRUE.

Referenced by CMainFrame::OnCreate().

void CWnd_Banner::Initialize ( void   )  [protected]

Definition at line 176 of file Wnd_Banner.cpp.

References _threadImage(), FALSE, m_bRunning, NULL, and TRUE.

Referenced by Create(), and SetBanner().

DWORD WINAPI CWnd_Banner::_threadImage ( LPVOID  lp  )  [static, protected]

void CWnd_Banner::OnPaint (  )  [protected]

Definition at line 55 of file Wnd_Banner.cpp.

References IMGT_DRAW, m_dwThrJob, and m_hDCNow.

void CWnd_Banner::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 160 of file Wnd_Banner.cpp.

void CWnd_Banner::OnTimer ( UINT  nIDEvent  )  [protected]

void CWnd_Banner::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 207 of file Wnd_Banner.cpp.

References fsOpenUrlInBrowser(), and m_strURL.


Member Data Documentation

Definition at line 34 of file Wnd_Banner.h.

Referenced by OnTimer(), and SetBanner().

BOOL CWnd_Banner::m_bRunning [protected]

Definition at line 37 of file Wnd_Banner.h.

Referenced by _threadImage(), CWnd_Banner(), Initialize(), SetBanner(), and Shutdown().

HDC CWnd_Banner::m_hDCNow [protected]

Definition at line 38 of file Wnd_Banner.h.

Referenced by _threadImage(), OnPaint(), and OnTimer().

CString CWnd_Banner::m_strImgFile [protected]

Definition at line 39 of file Wnd_Banner.h.

Referenced by _threadImage(), and SetBanner().

volatile DWORD CWnd_Banner::m_dwThrJob [protected]

Definition at line 40 of file Wnd_Banner.h.

Referenced by _threadImage(), CWnd_Banner(), OnPaint(), OnTimer(), SetBanner(), and Shutdown().

CString CWnd_Banner::m_strURL [protected]

Definition at line 43 of file Wnd_Banner.h.

Referenced by OnLButtonUp(), and SetBanner().

Definition at line 44 of file Wnd_Banner.h.

Referenced by _threadImage(), OnTimer(), and SetBanner().


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