62 lines
1.4 KiB
C++
62 lines
1.4 KiB
C++
#pragma once
|
|
|
|
|
|
|
|
// CPropEdit_CreateParameter form view
|
|
|
|
#include "PropEditWizardCommon.h"
|
|
class CPropEdit_CreateParameter : public CFormView, public CPropEditWizardCommon
|
|
{
|
|
DECLARE_DYNCREATE(CPropEdit_CreateParameter)
|
|
|
|
protected:
|
|
CPropEdit_CreateParameter(); // protected constructor used by dynamic creation
|
|
virtual ~CPropEdit_CreateParameter();
|
|
|
|
bool m_bActivate;
|
|
public:
|
|
enum { IDD = IDD_PROPEDIT_CREATEPARAMETER };
|
|
#ifdef _DEBUG
|
|
virtual void AssertValid() const;
|
|
#ifndef _WIN32_WCE
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
#endif
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
public:
|
|
virtual VIEW_TYPE GetNextView() { return FINISH; }
|
|
|
|
virtual bool IsVisivleNextButton() { return true; }
|
|
virtual bool IsVisivlePrevButton() { return true; }
|
|
virtual bool IsVisivleFinishButton() { return true; }
|
|
virtual bool IsFinishOrCancel() { return false; }
|
|
virtual void PreProcess();
|
|
virtual bool PostProcess();
|
|
|
|
CDC *m_pmemDC;
|
|
CBitmap *m_pdcBitmap;
|
|
void CreateMemDC();
|
|
void DeleteMemDC();
|
|
|
|
void EnableAdditionalControl( int nCurSel );
|
|
|
|
|
|
CComboBox m_ValueType;
|
|
virtual void OnInitialUpdate();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
afx_msg void OnCbnSelchangeCombo1();
|
|
CString m_szParamName;
|
|
CString m_szParamDesc;
|
|
afx_msg void OnEnChangeEdit1();
|
|
float m_fValueMin;
|
|
float m_fValueMax;
|
|
CString m_szValueData;
|
|
};
|
|
|
|
|