📄 localfile.cpp
字号:
// LocalFile.cpp : implementation file
//
#include "stdafx.h"
#include "stepftp.h"
#include "LocalFile.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLocalFile
IMPLEMENT_DYNCREATE(CLocalFile, CFormView)
CLocalFile::CLocalFile()
: CFormView(CLocalFile::IDD)
{
//{{AFX_DATA_INIT(CLocalFile)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CLocalFile::~CLocalFile()
{
}
void CLocalFile::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CLocalFile)
DDX_Control(pDX, IDC_LISTLOCAL, m_locallist);
DDX_Control(pDX, IDC_COMBOBOXEXLOCAL, m_localcombo);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CLocalFile, CFormView)
//{{AFX_MSG_MAP(CLocalFile)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CLocalFile diagnostics
#ifdef _DEBUG
void CLocalFile::AssertValid() const
{
CFormView::AssertValid();
}
void CLocalFile::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CLocalFile message handlers
void CLocalFile::OnSize(UINT nType, int cx, int cy)
{
CFormView::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
}
BOOL CLocalFile::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
return CFormView::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
}
void CLocalFile::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
// TODO: Add your specialized code here and/or call the base class
}
void CLocalFile::OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView)
{
// TODO: Add your specialized code here and/or call the base class
CFormView::OnActivateView(bActivate, pActivateView, pDeactiveView);
}
void CLocalFile::FitSize()
{
/* CRect cr,cr2;
this->GetWindowRect(cr);
m_locallist.GetWindowRect(cr2);
if(cr)
m_locallist*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -