printformatfacedlg.h

来自「VC6.0环境下编写的一个交换机计费程序。」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_PRINTFORMATFACEDLG_H__F8DE80F8_6415_49D6_8E44_490E4193258E__INCLUDED_)
#define AFX_PRINTFORMATFACEDLG_H__F8DE80F8_6415_49D6_8E44_490E4193258E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// printformatfaceDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// printformatfaceDlg dialog

//方位信息
typedef struct 
{
	int x;
	int y;
} INVOICE_POSITION;

typedef struct 
{
	//发票尺寸190*104
	INVOICE_POSITION Size;
	//发票标题
	INVOICE_POSITION Caption;
	//横线
	INVOICE_POSITION Line;
	//联别
	INVOICE_POSITION InvoicePage;
	//客户名称标题
	INVOICE_POSITION CustomerCaption;
	//客户名称
	INVOICE_POSITION CustomerName;
	//发票表格
	RECT  form;
	//开票单位
	INVOICE_POSITION Company;
	//开票人
	INVOICE_POSITION Invoiceman;
}ORIENT;

class printformatfaceDlg : public CDialog
{
// Construction
public:
	printformatfaceDlg(CWnd* pParent = NULL);   // standard constructor
	BOOL Draw(CDC* pDC,CRect *bitmapRect);
	void GetInfo();
	ORIENT Orient;
	CRect m_bitmapRect;
	HICON m_hIcon;
	float rato;
// Dialog Data
	//{{AFX_DATA(printformatfaceDlg)
	enum { IDD = IDD_PRINTFORMATFACE };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(printformatfaceDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

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

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

#endif // !defined(AFX_PRINTFORMATFACEDLG_H__F8DE80F8_6415_49D6_8E44_490E4193258E__INCLUDED_)

⌨️ 快捷键说明

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