📄 pdtnavigation.h
字号:
#if !defined(AFX_PDTNAVIGATION_H__0A5D3179_A214_4F71_A05C_1E1B0D3A7819__INCLUDED_)
#define AFX_PDTNAVIGATION_H__0A5D3179_A214_4F71_A05C_1E1B0D3A7819__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PdtNavigation.h : header file
//
#include "ProductClassSet.h"
#include "ProductSet.h"
#define WM_UPDETASELDATA WM_USER+9
/////////////////////////////////////////////////////////////////////////////
// CPdtNavigation dialog
//===============Extern Value==============
extern CProductSet *g_pSet;
extern bool g_isPLocked;
extern PRODUCTCLASS* g_ProductClass;
class CPdtNavigation : public CDialog
{
// Construction
public:
bool AddItems();
bool bIsFirstSel;
HTREEITEM products;
HTREEITEM m_hTreeCurrent;
CProductClassSet *m_pcSet;
CPdtNavigation(CWnd* pParent = NULL); // standard constructor
DECLARE_DYNCREATE(CPdtNavigation)
// Dialog Data
//{{AFX_DATA(CPdtNavigation)
enum { IDD = IDD_BAR_P_NAVIGATION };
CTreeCtrl m_Tre_Pdct_Class;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPdtNavigation)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPdtNavigation)
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnSelchangedTrePdctClass(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSize(UINT nType, int cx, int cy);
virtual BOOL OnInitDialog();
afx_msg void OnClickTrePdctClass(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDestroy();
//}}AFX_MSG
afx_msg void OnDialogSize();
afx_msg void UpdateSelData();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PDTNAVIGATION_H__0A5D3179_A214_4F71_A05C_1E1B0D3A7819__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -