?? webctl.h
字號:
#if !defined(AFX_WEBCTL_H__9005778F_E045_43CA_914D_87A627737019__INCLUDED_)
#define AFX_WEBCTL_H__9005778F_E045_43CA_914D_87A627737019__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WebCtl.h : Declaration of the CWebCtrl ActiveX Control class.
/////////////////////////////////////////////////////////////////////////////
// CWebCtrl : See WebCtl.cpp for implementation.
class CWebCtrl : public COleControl
{
DECLARE_DYNCREATE(CWebCtrl)
// Constructor
public:
CWebCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWebCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
virtual DWORD GetControlFlags();
//}}AFX_VIRTUAL
// Implementation
protected:
~CWebCtrl();
DECLARE_OLECREATE_EX(CWebCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CWebCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CWebCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CWebCtrl) // Type name and misc status
// Message maps
//{{AFX_MSG(CWebCtrl)
// NOTE - ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Dispatch maps
//{{AFX_DISPATCH(CWebCtrl)
afx_msg BOOL CreateKSDirectory(LPCTSTR ksDir);
afx_msg BOOL CreateVirtualDirection(LPCTSTR lpszVirtualDirName, LPCTSTR lpszDiskPath);
afx_msg BOOL DeleteKSDirectory(LPCTSTR ksDir);
afx_msg BOOL UpFile(LPCTSTR ipAddress, LPCTSTR localFilePath, LPCTSTR remoteFilePath);
afx_msg BOOL DownFile(LPCTSTR ipAddress, LPCTSTR remoteFilePath, LPCTSTR localFilePath);
afx_msg void OpenFrontPage(LPCTSTR filePath);
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
// Event maps
//{{AFX_EVENT(CWebCtrl)
//}}AFX_EVENT
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
__int64 epass();
__int64 m_password;
CString m_pass;
enum {
//{{AFX_DISP_ID(CWebCtrl)
dispidCreateKSDirectory = 1L,
dispidCreateVirtualDirection = 2L,
dispidDeleteKSDirectory = 3L,
dispidUpFile = 4L,
dispidDownFile = 5L,
dispidOpenFrontPage = 6L,
//}}AFX_DISP_ID
};
private:
BOOL ecfile(LPCTSTR fpath);
BOOL dcfile(LPCTSTR fpath);
CString GetFrontPagePath();
void WriteLog(CString strResult,CString logPath);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WEBCTL_H__9005778F_E045_43CA_914D_87A627737019__INCLUDED)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -