📄 fvquery.h
字号:
#if !defined(AFX_FVQUERY_H__A6FE1BD6_6FD3_4C75_8761_620C6F05EB8A__INCLUDED_)
#define AFX_FVQUERY_H__A6FE1BD6_6FD3_4C75_8761_620C6F05EB8A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FVQuery.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFVQuery form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "FlatButton.h"
class CFVQuery : public CFormView
{
protected:
CFVQuery(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CFVQuery)
// Form Data
public:
//{{AFX_DATA(CFVQuery)
enum { IDD = IDD_QUERY };
CStatic m_static_atitle;
CStatic m_static_title;
CListCtrl m_list_msg;
CFlatButton m_bt_query;
CFlatButton m_bt_print;
CFlatButton m_bt_close;
CFlatButton m_bt_preview;
//}}AFX_DATA
// Attributes
public:
CImageList m_imgList;
CFont ftTitle;
UINT m_nListMode;
// Operations
public:
void InitSpls();
int m_nLinePerPage;
void InitMingXi();
void InitCppf();
// Overrides
private:
CFont m_ftTitle;
CFont m_ftContent;
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFVQuery)
public:
virtual void OnInitialUpdate();
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
protected:
void Title( CString strTitle );
virtual ~CFVQuery();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CFVQuery)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBtClose();
afx_msg void OnDestroy();
afx_msg void OnBtPrint();
afx_msg void OnBtQuery();
afx_msg void OnBtPreview();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void QueryCpls();
void CppfRowTextOut(int cx, int cy, CDC *pDC, int nrow );
void MingXiRowTextOut( int cx, int cy, CDC *pDC, int nrow);
void QueryMingXi();
void ClearList();
void SelectQuery();
void QueryCppf();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FVQUERY_H__A6FE1BD6_6FD3_4C75_8761_620C6F05EB8A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -