📄 lookup2dlg.h
字号:
#if !defined(AFX_LOOKUP2DLG_H__C8963954_0548_4B75_A7A3_C8D3EADCF207__INCLUDED_)
#define AFX_LOOKUP2DLG_H__C8963954_0548_4B75_A7A3_C8D3EADCF207__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LookUp2Dlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLookUp2Dlg dialog
class CLookUp2Dlg : public CDialog
{
// Construction
public:
void ShowText();
void AddfoodnameToCombo();
// int materialpage;//food原料要多少面
// int meanspage;//food方法要多少面
// int materialpagenow;//food原料当前在多少面
// int meanspagenow;//food方法当前在多少面
// CString foodmeans[20];//存储food方法
// CString foodmaterial[20];//存放food原料
int foodnamecount;
//CString foodmenu;//显示的菜名
// int pagnow;//显示的菜名位置(第几个)
// CString foodname[1000];//组合框菜名字
// int page[1000];//组合框菜名名字位置
// CString namepath[1000];//组合框菜名路径
// int lastpageNumber;//最后一个菜名位置
// int Last_Material_Line;//原料的行数
// int Last_Means_Line;//方法的行数
CLookUp2Dlg(CWnd* pParent = NULL); // standard constructor
CString btn2foodname[20];//食物名
CString btn2foodpoint[20];//食物原料
CString btn2foodmethod[20];//食物制作方法
CBrush m_brush;
COLORREF m_color;
CBitmapButton home;
CBitmapButton back;
CBitmapButton first;
CBitmapButton front;
CBitmapButton next;
CBitmapButton last;
CBitmapButton play;
int foodIndex;//记录当前显示第几种食物
// Dialog Data
//{{AFX_DATA(CLookUp2Dlg)
enum { IDD = IDD_LOOKUP2_DIALOG2 };
CComboBox m_strCombo2;
CString m_material1;
CString m_means1;
CString m_strname;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLookUp2Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLookUp2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnHome();
afx_msg void OnBack1();
afx_msg void OnSelchangeLookup2Combo();
afx_msg void OnFirstButton1();
afx_msg void OnLastButton4();
afx_msg void OnNextButton3();
afx_msg void OnFrontButton2();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOOKUP2DLG_H__C8963954_0548_4B75_A7A3_C8D3EADCF207__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -