📄 nurritionandneeddlg.h
字号:
#if !defined(AFX_NURRITIONANDNEEDDLG_H__5260D175_9949_480E_956E_2D4DB03AB2C6__INCLUDED_)
#define AFX_NURRITIONANDNEEDDLG_H__5260D175_9949_480E_956E_2D4DB03AB2C6__INCLUDED_
#include "FoodNurritionDlg.h"//add
#include "NurritionNeedDlg.h"//add
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NurritionAndNeedDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CNurritionAndNeedDlg dialog
// bool bIcon;
class CNurritionAndNeedDlg : public CDialog
{
// Construction
public:
void DoTab(int nSel);// 切换对话框
void SetDlgState(CWnd *pWnd, BOOL bShow,int dialog);//显示或隐藏
CFoodNurritionDlg *m_pFoodNurritionDlg;
CNurritionNeedDlg *m_pNurritionNeedDlg;
CNurritionAndNeedDlg(CWnd* pParent = NULL); // standard constructor
CBitmapButton foodnurrition;
CBitmapButton foodneed;
CBitmapButton home;
CBitmapButton back;
// Dialog Data
//{{AFX_DATA(CNurritionAndNeedDlg)
enum { IDD = IDD_1_NURRITIONandNEED };
CTabCtrl m_Tab;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNurritionAndNeedDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CNurritionAndNeedDlg)
afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeFoodNurritionButton();
afx_msg void OnChangeNurritionNeedButton();
virtual BOOL OnInitDialog();
afx_msg void OnHome1();
afx_msg void OnBack();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NURRITIONANDNEEDDLG_H__5260D175_9949_480E_956E_2D4DB03AB2C6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -