getpicturedlg.h

来自「canon 相机SDK,非常难得」· C头文件 代码 · 共 74 行

H
74
字号
// GetPictureDlg.h : header file
//

#if !defined(AFX_GETPICTUREDLG_H__309A37C7_173F_11D6_85C3_002018A1F394__INCLUDED_)
#define AFX_GETPICTUREDLG_H__309A37C7_173F_11D6_85C3_002018A1F394__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "cdType.h"

/////////////////////////////////////////////////////////////////////////////
// CGetPictureDlg dialog

class CGetPictureDlg : public CDialog
{
// Construction
public:
	CGetPictureDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CGetPictureDlg)
	enum { IDD = IDD_GETPICTURE_DIALOG };
	CButton	m_CDisconnect;
	CButton	m_CConnect;
	CButton	m_CThumbnail;
	CButton	m_CPicture;
	CButton	m_CEnd;
	CListBox	m_CFile;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CGetPictureDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnConnect();
	afx_msg void OnGetthumbnail();
	afx_msg void OnGetpicture();
	afx_msg void OnEnd();
	afx_msg void OnDisconnect();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	cdHSource		m_hSource;
	cdHandle		m_hCallbackFunction;	/**/

private:
	/* call back function */
	static cdUInt32	cdSTDCALL CamCallBackFunc(	cdEventID		EventID,
										const cdVoid*	pData,
										cdUInt32		DataSize,
										cdContext		Context );
};

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

#endif // !defined(AFX_GETPICTUREDLG_H__309A37C7_173F_11D6_85C3_002018A1F394__INCLUDED_)

⌨️ 快捷键说明

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