2016-01-27 09:11:59 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
class CModifiedEditBox :
|
|
|
|
public CEdit
|
2016-01-27 09:11:59 +00:00
|
|
|
{
|
2022-09-26 02:31:54 +00:00
|
|
|
bool m_Changed;
|
|
|
|
bool m_Reset;
|
|
|
|
HFONT m_BoldFont;
|
|
|
|
HFONT m_OriginalFont;
|
|
|
|
HWND m_TextField;
|
|
|
|
bool m_bString;
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
public:
|
2022-09-26 02:31:54 +00:00
|
|
|
// Constructors
|
|
|
|
CModifiedEditBox(bool bString = true, HWND hWnd = nullptr);
|
|
|
|
~CModifiedEditBox();
|
2016-01-27 09:11:59 +00:00
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
void SetReset(bool Reset);
|
|
|
|
void SetChanged(bool Changed);
|
|
|
|
void SetTextField(HWND hWnd);
|
|
|
|
|
|
|
|
inline bool IsChanged(void) const
|
|
|
|
{
|
|
|
|
return m_Changed;
|
|
|
|
}
|
|
|
|
inline bool IsReset(void) const
|
|
|
|
{
|
|
|
|
return m_Reset;
|
|
|
|
}
|
|
|
|
inline bool IsbString(void) const
|
|
|
|
{
|
|
|
|
return m_bString;
|
|
|
|
}
|
2016-01-27 09:11:59 +00:00
|
|
|
};
|