FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAcUiEdit.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\adui17\CAdUiEdit.h"
20
21class CWnd;
22template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
23
25{
26public:
28
29public:
30 CAcUiEdit(void);
33 int HasChanged(void);
34 int Validate(void);
35 virtual ~CAcUiEdit(void);
36 virtual void SetStyleMask(unsigned long);
37 void Convert(void);
38 void SetDirty(void);
39 void SetRange(double,double);
40 bool HasRange() const;
43
44
45protected:
47 DECLARE_MESSAGE_MAP()
49 void OnErrSpace(void);
50 void OnKillFocus( CWnd *);
51
53 bool IsValidFloat(const CString&, double&) const;
54 void DisplayError(unsigned int);
55 ACUI_ERROR_CODE ValidateNumeric(const CString &) const;
56 ACUI_ERROR_CODE ValidateSymbol(const CString &) const;
57 ACUI_ERROR_CODE ValidateAngle(const CString &) const;
58 ACUI_ERROR_CODE ValidateString(const CString &) const;
59 bool m_isSet;
60};
ACUI_ERROR_CODE
int Validate(void)
afx_msg BOOL OnChange()
ACUI_ERROR_CODE ValidateData(CStringW &)
double m_dMaxValue
Definition CAcUiEdit.h:41
void Convert(void)
void SetRange(double, double)
int HasChanged(void)
CAcUiEdit(void)
bool HasRange() const
int ConvertData(CStringW &)
void SetDirty(void)
virtual void SetStyleMask(unsigned long)
virtual ~CAcUiEdit(void)
DECLARE_DYNAMIC(CAcUiEdit)
double m_dMinValue
Definition CAcUiEdit.h:42