⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.h

📁 任意点阵字模生成软件源代码
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__1497DA8D_099E_44A5_A226_381019C482DC__INCLUDED_)
#define AFX_MAINFRM_H__1497DA8D_099E_44A5_A226_381019C482DC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "objectToolbar.h"
#include "TextToolBar.h"
#include "StandardToolBar.h"
#include "setdlg.h"
#include "ProgStatusBar.h"

class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)
	BOOL bInit;
// Attributes
public:
	CSplitterWnd m_wndSplit1,m_wndSplit2;
// Operations
public:
	CObList m_pageList;
	CObList m_wordList;
	BOOL bBold;
	BOOL bItalic;
	BOOL bLock;
	BOOL bModiftBtnEnable;
	BOOL bShowRectangle;
	int comm;
	int baurd;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void RecalcLayout(BOOL bNotify = TRUE);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
	//}}AFX_VIRTUAL

// Implementation
public:
	BOOL AddStandToolBar();
	void fillFontFaceName();
	BOOL AddTextToolBar();
	CObjectToolbar m_wndToolBarDraw;
	CTextToolBar m_txtToolBar;
	CStandardToolBar m_standToolBar;
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CProgStatusBar  m_wndStatusBar;
	CObjectToolbar    m_wndToolBar;
// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSave();
	afx_msg void OnAddPageBtn();
	afx_msg void OnAddbtn();
	afx_msg void OnDelPageBtn();
	afx_msg void OnAddPicBtn();
	afx_msg void OnModifyBtn();
	afx_msg void OnDelWordBtn();
	afx_msg void OnSetbackbtn();
	afx_msg void OnSetfrontbtn();
	afx_msg void OnCheckLockBtn();
	afx_msg void OnCheckShowRectangle();
	afx_msg void OnSelchangeFont();
	afx_msg void OnSetcuoTi();
	afx_msg void OnUpdateSetcuoTi(CCmdUI* pCmdUI);
	afx_msg void OnXieTi();
	afx_msg void OnUpdateXieTi(CCmdUI* pCmdUI);
	afx_msg void OnChangeWordWidth();
	afx_msg void OnChangeWordHeight();
	afx_msg void OnChangeScreenWidth();
	afx_msg void OnChangeScreenHeight();
	afx_msg void OnCancelselectbtn();
	afx_msg void OnImport();
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnDownload();
	afx_msg void OnDownone();
	afx_msg void OnSupper();
	afx_msg LRESULT OnProgress(WPARAM wParam, LPARAM lParam); 	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_MAINFRM_H__1497DA8D_099E_44A5_A226_381019C482DC__INCLUDED_)

⌨️ 快捷键说明

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