wizardbarsdlg.h

来自「枚举主机网络设备」· C头文件 代码 · 共 77 行

H
77
字号
#if !defined(AFX_QQBARSDLG_H__B34C51C9_E3B9_42B1_BA11_313A4E5CA8A3__INCLUDED_)
#define AFX_QQBARSDLG_H__B34C51C9_E3B9_42B1_BA11_313A4E5CA8A3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dlgworkspace.h : header file
//
#define STYLE_PAGE_NONE								-1
#define STYLE_PAGE_QQBAR							0
#define STYLE_PAGE_DIRECTRY_TREE					1
#define STYLE_PAGE_QQBAR_WITH_DIRECTRY_TREE			2
#define STYLE_PAGE_SHELL_TREE						3
#define STYLE_PAGE_GRID								4
#define STYLE_PAGE_RICH_EDIT						5

#include "HResource.h"
#include "DynamicBar.h"
#include "HTabCtrl.h"
#include "HImageList.h"
#include "FVPageQQBarWithTree.h"
#include "FVPageQQBar.h"
#include "FVPageShellTree.h"
#include "FVPageDirectryTree.h"
#include "FVPageGrid.h"
#include "FVPageRichEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CWizardBarsDlg dialog
#ifndef IDC_TAB
#define IDC_TAB 1000
#endif

class AFX_EXT_CLASS CWizardBarsDlg : public CDynamicBarDlg
{
	DECLARE_DYNAMIC(CWizardBarsDlg);
// Construction
public:
	virtual int InitTabs();
	CWizardBarsDlg(UINT nDlgID = 0,CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CWizardBarsDlg)
	CHTabCtrl	m_oHTabs;
	//}}AFX_DATA
	CHImageList	m_ImageList;
	CString m_strTabIconFolder;
	CString m_strQQIconFolder;


public:
	CString SetTabIconFolder(CString strPath);
	CString SetQQIconFolder(CString strPath);
	CWnd* GenerateFVPage(CString strPageLable="新页",CString strFileName="",CString strFileContent="",int nStyle=0);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWizardBarsDlg)
	public:
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CWizardBarsDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_QQBARSDLG_H__B34C51C9_E3B9_42B1_BA11_313A4E5CA8A3__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?