📄 picturedlg.h
字号:
// pictureDlg.h : header file
//
#if !defined(AFX_PICTUREDLG_H__C281C092_93AE_4773_94D0_E6EC98B9FF7F__INCLUDED_)
#define AFX_PICTUREDLG_H__C281C092_93AE_4773_94D0_E6EC98B9FF7F__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include <vector>
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CPictureDlg dialog
class CPictureDlg : public CDialog
{
// Construction
public:
BOOL InRect(int left, int top, int right, int bottom, int px, int py);
void FindimageFile(CString strFoldername);
CPictureDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPictureDlg)
enum { IDD = IDD_PICTURE_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPictureDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
CString imagename;
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPictureDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CImageList myimage;
CListCtrl *mylist;
CBitmap btmp1,btmp2,btmp3,btmp4,btmp5,btmp6;
vector<CString> pathname;
CBitmap *mycbitmap;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PICTUREDLG_H__C281C092_93AE_4773_94D0_E6EC98B9FF7F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -