deargui-vpl/ref/virtools/Samples/Virtools Interface SDK/Custom parameter/DoubleParamDialog.h

44 lines
839 B
C++

#pragma once
#include "CKALL.h"
#include "resource.h"
#include <afxwin.h>
#include <afxext.h>
#include <afxcmn.h>
#include <stdlib.h>
#include "VIControl.h"
#include "VIGdiManager.h"
#include "VIButton.h"
#include "VIDialogButton.h"
#include "VIEdit.h"
#include "VIComboBox.h"
#include "VIStaticText.h"
class DoubleParamDialog : public CDialog
{
DECLARE_DYNAMIC(DoubleParamDialog)
public:
DoubleParamDialog(CKParameter *param, CWnd* pParent = NULL); // standard constructor
virtual ~DoubleParamDialog();
BOOL OnInitDialog();
// Dialog Data
enum { IDD = IDD_DIALOG1 };
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
CKParameter *parameter;
VIEdit editValue;
VIStaticText textValue;
DECLARE_MESSAGE_MAP()
};