DragonNest/Common/MFCUtility/XTCustomPropertyGridItemNumber.cpp
Cussrro 47f7895977 Revert "修复编码问题"
This reverts commit 9e69c01767.
2024-12-21 10:04:04 +08:00

25 lines
No EOL
918 B
C++

#include "StdAfx.h"
#include "Common/XTPVC80Helpers.h"
#include "PropertyGrid/XTPPropertyGridInplaceEdit.h"
#include "PropertyGrid/XTPPropertyGridInplaceButton.h"
#include "PropertyGrid/XTPPropertyGridInplaceList.h"
#include "PropertyGrid/XTPPropertyGridItem.h"
#include "XTCustomPropertyGridItemNumber.h"
IMPLEMENT_DYNAMIC(CXTCustomPropertyGridItemNumber, CXTPPropertyGridItem)
CXTCustomPropertyGridItemNumber::CXTCustomPropertyGridItemNumber(const CString& strCaption, long nValue, long* pBindNumber )
: CXTPPropertyGridItemNumber( strCaption, nValue, pBindNumber )
{
}
CXTCustomPropertyGridItemNumber::CXTCustomPropertyGridItemNumber(UINT nID, long nValue, long* pBindNumber )
: CXTPPropertyGridItemNumber( nID, nValue, pBindNumber )
{
}
void CXTCustomPropertyGridItemNumber::OnInplaceButtonDown()
{
m_pGrid->GetParent()->GetParent()->SendMessage( UM_PROPERTYGRID_ONCUSTOM_DIALOG, (WPARAM)0, (LPARAM)this );
}