You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TwoLaserHead-PushJig/LaiPuLaser/DlgValStrBase.h

26 lines
728 B
C++

#pragma once
#include "ValString.h"
// CDlgValStrFixed 对话框
class CDlgValStrBase : public CDialogEx
{
DECLARE_DYNAMIC(CDlgValStrBase)
public:
CDlgValStrBase(int IDD,CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgValStrBase();
void SetParm(CValString *p,bool bAdd,int SelIdx);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
virtual void DynamicCastStrBase(){};
DECLARE_MESSAGE_MAP()
protected:
CValString *m_pValString;
bool m_bAdd;//增加还是修改
int m_SelIdx;//当前选择的行,修改的时候用
CValStrBase *m_pValStrBase;//当前操作的ValStr
};