⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lobsampledlg.h

📁 vc在线考试系统源码
💻 H
字号:
/********************************************************************
@author  Chandar
@version 1.0
Development Environment        :  Visual C++ 6.0
Name of the File               :  LOBSampleDlg.h
Creation/Modification History  :
                                  01-Aug-2001     Created


File Overview

 This is header file for the start up dialog box of the application
 It declares the class which handles the dialog box functions and events
************************************************************************/


#include "ADODBHandler.h"
#include "Image.h"
#if !defined(AFX_LOBSAMPLEDLG_H__FC18E2AC_6C49_11D5_A49A_0008C779AD8D__INCLUDED_)
#define AFX_LOBSAMPLEDLG_H__FC18E2AC_6C49_11D5_A49A_0008C779AD8D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLOBSampleDlg dialog

class CLOBSampleDlg : public CDialog
{
// Construction
public:
	CLOBSampleDlg(CWnd* pParent = NULL);	// standard constructor
    	ADODBHandler dbObj;
		
// Dialog Data
	//{{AFX_DATA(CLOBSampleDlg)
	enum { IDD = IDD_LOBSAMPLE_DIALOG };
	CComboBox	m_product;
//	CStatic	m_newPicture;
//	CStatic	m_ExistPicture;
	//}}AFX_DATA

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

// Implementation
protected:
	_bstr_t m_ExistingPicture;   //string variable for existing image file name
	_bstr_t m_NewPicture;         //string variable for new image file name
	CRect	bounds; 
	BOOL    m_flag;
	HICON   m_hIcon;
	CImage  image;               //class object for opening and drawing the image

	// Generated message map functions
	//{{AFX_MSG(CLOBSampleDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonBrowse();
	afx_msg void OnButtonUpdate();
	afx_msg void OnSelchangeComboproduct();
	afx_msg void OnSelendokComboproduct();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LOBSAMPLEDLG_H__FC18E2AC_6C49_11D5_A49A_0008C779AD8D__INCLUDED_)

⌨️ 快捷键说明

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