?? lock.h
字號:
// lock.h : main header file for the LOCK application
//
#if !defined(AFX_LOCK_H__44479E1B_A78B_45F5_8166_5B5E25820460__INCLUDED_)
#define AFX_LOCK_H__44479E1B_A78B_45F5_8166_5B5E25820460__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
// The total number of views
#define NUMVIEWS 4
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CLockApp:
// See lock.cpp for the implementation of this class
//
class CLockApp : public CWinApp
{
public:
CString VariantToCString(const _variant_t &var);
// Smart point to ADO
_ConnectionPtr m_pConnection;
BOOL ConnectionDB();
CView * SwitchView( UINT nIndex );
CLockApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLockApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
/************************************************************************/
/* data members for views */
/************************************************************************/
protected:
// Array of views attached to single document
CView * m_pViews[NUMVIEWS];
// Index to current view
UINT m_nCurView;
// Implementation
//{{AFX_MSG(CLockApp)
afx_msg void OnAppAbout();
afx_msg void OnUserAdd();
afx_msg void OnUpdateUserAdd(CCmdUI* pCmdUI);
afx_msg void OnUserRev();
afx_msg void OnUpdateUserRev(CCmdUI* pCmdUI);
afx_msg void OnUserDel();
afx_msg void OnUpdateUserDel(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOCK_H__44479E1B_A78B_45F5_8166_5B5E25820460__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -