Files
envi-code/SourceCode/Code2026/shsTK/MainFrame.h
T

63 lines
1.4 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//////////////////////////////////////////////////////////////////////////
// CDockDialog中创建的主窗口, 里面创建CListView和CoolBar1(文件列表)
// 创建人: 周风生
2026-09-28 15:28:50 +08:00
//////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRAME_H__DB4FC4FE_4B0E_49B4_A5E2_542806643835__INCLUDED_)
#define AFX_MAINFRAME_H__DB4FC4FE_4B0E_49B4_A5E2_542806643835__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#include "shsCoolBar1.h"
class CMainFrame : public CFrameWnd
{
public:
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
public:
public:
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
protected:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
2026-10-04 00:04:20 +08:00
// 显示文件列表
2026-09-28 15:28:50 +08:00
void ShowListDock();
BOOL IsShowListDock();
2026-10-04 00:04:20 +08:00
// 显示文件预缆
2026-09-28 15:28:50 +08:00
void ShowPreViewCtrl();
BOOL IsShowPreViewCtrl();
2026-10-04 00:04:20 +08:00
// 显示文件说明
2026-09-28 15:28:50 +08:00
void ShowExplainCtrl();
BOOL IsShowExplainCtrl();
void hidePreViewCtrlAndExplainCtrl();
public:
CSplitterWnd m_wndSplitter;
CHYCoolBar1 m_wndMyDialogBar;
};
#endif