2026-10-04 00:04:20 +08:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// 在CMyListView中创建的窗口,包含了CoolBar2(文件预览)和CoolBar3(文件说明)
|
|
|
|
|
// 创建人: 周风生
|
2026-09-28 15:28:50 +08:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#if !defined(AFX_CHILDFRAME_H__83B74C20_ECF6_450B_8B0C_F105B401499D__INCLUDED_)
|
|
|
|
|
#define AFX_CHILDFRAME_H__83B74C20_ECF6_450B_8B0C_F105B401499D__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "shsCoolBar2.h"
|
|
|
|
|
#include "shsCoolBar3.h"
|
|
|
|
|
|
|
|
|
|
class CChildFrame : public CFrameWnd
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNCREATE(CChildFrame)
|
|
|
|
|
public:
|
|
|
|
|
CChildFrame();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
//{{AFX_VIRTUAL(CChildFrame)
|
|
|
|
|
public:
|
|
|
|
|
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
|
|
|
|
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
virtual ~CChildFrame();
|
|
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
virtual void AssertValid() const;
|
|
|
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//{{AFX_MSG(CChildFrame)
|
|
|
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
|
|
|
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
|
|
|
|
afx_msg void OnPaint();
|
|
|
|
|
//}}AFX_MSG
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
public:
|
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;
|
|
|
|
|
CHYCoolBar2 m_wndPreViewBar;
|
|
|
|
|
CHYCoolBar3 m_wndExplainBar;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|