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

📄 showviewdlg.h

📁 本次程序主要由两个工程组成
💻 H
字号:
/*

此文件名为 "ShowViewDlg.h"。

Copyright:04本3班 丁伟成,陈妙娜,肖芹珍,赖删珊。

此文件功能:定义添加图资源时用到的变量和显示图片的函数PaintBit()。

作者: 陈妙娜,赖删珊,肖芹珍。

完成日期:2007年3月12日

当前的版本号:ShowView.01,该程序暂时为最新版本。

*/
// ShowViewDlg.h : header file
//

#if !defined(AFX_SHOWVIEWDLG_H__078CAA3B_1D58_4445_AC50_DE868D086B72__INCLUDED_)
#define AFX_SHOWVIEWDLG_H__078CAA3B_1D58_4445_AC50_DE868D086B72__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CShowViewDlg dialog

class CShowViewDlg : public CDialog
{
//添加图资源时用到的变量
private:
	HINSTANCE hdll;
	HBITMAP hbit;
	HDC hdc;
	int index;//图片标志
	bool timerFlag;//判断标志

	void PaintBit();//调用Dll中的ShowBitmap函数显示图片

// Construction
public:
	CShowViewDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CShowViewDlg)
	enum { IDD = IDD_SHOWVIEW_DIALOG };
	CComboBox	m_photoIndex;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CShowViewDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnAutoShow();
	afx_msg void OnForward();
	afx_msg void OnSelchangePhotoIndex();
	afx_msg void OnBackward();
	virtual void OnCancel();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SHOWVIEWDLG_H__078CAA3B_1D58_4445_AC50_DE868D086B72__INCLUDED_)

⌨️ 快捷键说明

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