?? mainframe.h
字號:
#if !defined(AFX_MainFrame_H__881CC7ED_6883_45E7_8265_D6E1E27CFB28__INCLUDED_)
#define AFX_MainFrame_H__881CC7ED_6883_45E7_8265_D6E1E27CFB28__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MainFrame.h : header file
//
#include "afxdao.h"
#include "ViewData.h"
#include "Query.h"
/////////////////////////////////////////////////////////////////////////////
// MainFrame frame
class MainFrame : public CFrameWnd
{
DECLARE_DYNCREATE(MainFrame)
protected:
public:
MainFrame(); // protected constructor used by dynamic creation
// Attributes
public:
CListBox *listbox;
CButton *button1, *button2, *button3, *button4;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(MainFrame)
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~MainFrame();
// Generated message map functions
//{{AFX_MSG(MainFrame)
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSelChange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void OnQuery4();
void OnQuery3();
void OnQuery2();
void OnQuery1();
BOOL DrawCoordinate(CDC *pDC,CPoint O, int weight, int height);
int FindBalance(int *a, int length, int n);
BOOL Draw(CDC *pDC, CPoint O, CSize Range, int *x, int *y, int length);
CString m_filepathname;
CDaoDatabase m_MyDatabase;
CViewData *m_datadlg;
int *x, *y, m_length;
int m_preindex;
int m_button;
afx_msg LONG OnViewDataClose(WPARAM wP,LPARAM lP);
afx_msg LONG OnQueryClose(WPARAM wP,LPARAM lP);
afx_msg LONG OnQueryOk(WPARAM wP,LPARAM lP);
CQuery *querydlg;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MainFrame_H__881CC7ED_6883_45E7_8265_D6E1E27CFB28__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -