www.pudn.com > CraftFTP_gb.rar > DialRasDialog.h
#if !defined(AFX_RASDIAL_H__48A1C75B_4CEB_4BE4_B3D7_228B69B5D776__INCLUDED_)
#define AFX_RASDIAL_H__48A1C75B_4CEB_4BE4_B3D7_228B69B5D776__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialRasDialog.h : header file
//
#include "DialogEx.h"
/////////////////////////////////////////////////////////////////////////////
// CDialRasDialog dialog
class CDialRasDialog : public CDialogEx
{
// Construction
public:
CDialRasDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDialRasDialog)
enum { IDD = IDD_DIALOG_RASDIAL };
CAnimateCtrl m_wndAnimate;
//}}AFX_DATA
protected:
HRASCONN m_hRasConn;
static HWND m_RasWnd;
UINT m_nRasNumber;
protected:
void Cancel();
void DoDial();
UINT GetRasConnState(RASCONNSTATE rasconn);
LRESULT OnRasDialEvent(WPARAM wparam, LPARAM lparam);
static void WINAPI RasDialFunc(UINT unMsg, RASCONNSTATE rasconnstate, DWORD dwError);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDialRasDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
static const DWORD m_nHelpIDs[];
virtual const DWORD* GetHelpIDs() {return m_nHelpIDs;}
// Generated message map functions
//{{AFX_MSG(CDialRasDialog)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RASDIAL_H__48A1C75B_4CEB_4BE4_B3D7_228B69B5D776__INCLUDED_)