scsortview.h

来自「中文编码转换」· C头文件 代码 · 共 92 行

H
92
字号
// SCSortView.h : interface of the CSCSortView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCSORTVIEW_H__BECBE694_B2B1_454A_B522_955A626E61A3__INCLUDED_)
#define AFX_SCSORTVIEW_H__BECBE694_B2B1_454A_B522_955A626E61A3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

extern CString g_strResultDir;
extern USHORT  g_usEnt;

/*******************************************************************************/
void globalInit();
void printAllHZByGBK();
void printAllGBK();
void temp();
/*******************************************************************************/
struct ST_HZUnit
{
	USHORT	usCode;
	char	pszHZ[3];
	char	pszPY[10];

	ST_HZUnit()
	{
		usCode = 0;
		memset(pszHZ, 0x0, 3);
		memset(pszPY, 0x0, 10);
	}
};

class CSCSortView : public CView
{
protected: // create from serialization only
	CSCSortView();
	DECLARE_DYNCREATE(CSCSortView)

// Attributes
public:
	CSCSortDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSCSortView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CSCSortView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSCSortView)
	afx_msg void OnBuildScPysort();
	afx_msg void OnDyzSort();
	afx_msg void OnExtractDYZ();
	afx_msg void OnNewDyzSort();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in SCSortView.cpp
inline CSCSortDoc* CSCSortView::GetDocument()
   { return (CSCSortDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_SCSORTVIEW_H__BECBE694_B2B1_454A_B522_955A626E61A3__INCLUDED_)

⌨️ 快捷键说明

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