📄 childfrm.h
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
// http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////
// ChildFrm.h : interface of the CChildFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHILDFRM_H__2DF0D44B_549E_11D3_B8DB_00600838CD5F__INCLUDED_)
#define AFX_CHILDFRM_H__2DF0D44B_549E_11D3_B8DB_00600838CD5F__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "DirSplitter.h"
class CChildFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CChildFrame)
protected:
CChildFrame();
// Attributes
protected:
CDirSplitter m_wndSplitter;
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChildFrame)
public:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
void BrushRefresh();
int GetArrangeType();
int GetViewType();
CString GetDirectory();
BOOL CreateNewFolder(LPCTSTR czDirName = NULL);
BOOL DeleteSelectedFile();
CString GetMachineName();
CFileSystem * GetFileSystem();
BOOL SetDirectory(LPCTSTR czDir);
CString GetFullPath(int iItem);
CString GetFullPath(HTREEITEM hItem);
void Refresh();
HTREEITEM SelectedDirItem();
BOOL ShareItem(HTREEITEM hItem, BOOL bShare);
BOOL ShareItem(int iID, BOOL bShare);
void SetArrangeType(int iType);
void ExploreItem(int iItem);
BOOL IsDirectory(int iListItem);
void SetViewType(int iType);
void UpdateListDir(LPCTSTR strDirectory);
int SelectedID();
virtual ~CChildFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
CString m_cszTarget;
//{{AFX_MSG(CChildFrame)
afx_msg void OnMDIActivate( BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd );
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHILDFRM_H__2DF0D44B_549E_11D3_B8DB_00600838CD5F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -