?? recordnew.h
字號:
#if !defined(AFX_RECORDNEW_H__FD1B9EEC_AA94_45B6_B37E_73DF50A133D2__INCLUDED_)
#define AFX_RECORDNEW_H__FD1B9EEC_AA94_45B6_B37E_73DF50A133D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RecordNew.h : header file
//
#include "Picture.h"
/////////////////////////////////////////////////////////////////////////////
// CRecordNew dialog
class CRecordNew : public CDialog
{
// Construction
public:
CRecordNew(CWnd* pParent = NULL); // standard constructor
// 定義ADO連接、命令、記錄集變量指針
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordset;
CString m_strPhotoPath1,m_strPhotoPath2,m_strPhotoPath3;
CPicture m_Pic;
int nSize;
IPicture * pPicture;
IStream * pStream;
CString GName[100],GTime[100],GItem[100],GNote[100];
int RecordNum;
// Dialog Data
//{{AFX_DATA(CRecordNew)
enum { IDD = IDD_RECORDNEW };
CListCtrl m_list;
CDateTimeCtrl m_newtime;
CString m_newitem;
CString m_newname;
CString m_newnote;
CString m_picture1;
CString m_picture2;
CString m_picture3;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRecordNew)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRecordNew)
afx_msg void OnSave();
afx_msg void OnNewpicture1button();
afx_msg void OnNewpicture2button();
afx_msg void OnNewpicture3button();
virtual BOOL OnInitDialog();
afx_msg void OnRewrite();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RECORDNEW_H__FD1B9EEC_AA94_45B6_B37E_73DF50A133D2__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -